public servefunction

serve(source, [targets...])

Start watching the project defined by source for changes and rebuild it when any occur. targets lists the functions to run when any changes take place. By default this is html, which runs a background HTTP server that presents the generated HTML output at localhost:8000.