mix popcorn. dev
(Popcorn v1.0.0)
View Source
Cooks the current project and serves static files with appropriate setup.
Accepts all mix popcorn.cook options, plus:
--dir- directory to serve (default:public)--port- HTTP port (default:4000); uses an available port if occupied
On Linux, file watching requires inotify-tools. If watching cannot start,
the initial build is still served. Restart the task after editing Elixir sources.
mix popcorn.dev
mix popcorn.dev --dir www --out-dir www/out --port 8080