Supervisor for the Sayfa dev server components.
Starts in order: Rebuilder → Watcher → Cowboy HTTP server.
This supervisor is started by mix sayfa.serve, not in application.ex.
Summary
Functions
Returns a specification to start this module under a supervisor.
Starts the dev server supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec start_link(keyword()) :: Supervisor.on_start()
Starts the dev server supervisor.
Options
:config— keyword list of build options:port— HTTP port (default: 4000):output_dir— directory to serve (default: "dist"):content_dir— content directory to watch (default: "content")