You should make sure that the following components are pre-installed on your machine:
Run
sbt dev
Then open http://localhost:12345
in your browser.
This sbt-task will start webpack dev server, compile your code each time it changes and auto-reload the page.
Webpack dev server will stop automatically when you stop the dev
task
(e.g by hitting Enter
in the sbt shell while you are in dev
watch mode).
If you existed ungracefully and your webpack dev server is still open (check with ps -aef | grep -v grep | grep webpack
),
you can close it by running fastOptJS::stopWebpackDevServer
in sbt.