The webpack-dev-server
will serve new bundles to a browser when files
change.
It has the following features:
- Changes result in a browser refresh (you know they are propagated)
- The bundle is served from memory not disk
- Small changes result in small compiles
To run webpack dev server:
Set the following variable in variables.ini
:
[local.py]
...
BASE_URL = "https://<host name>:8080"
...
Finally run:
npm run server
See LINT.md
- Use an EditorConfig plugin to leverage the project's
.editorconfig
The hooks below give helpful hints about common tasks like migrating, or installing dependencies.
Link the following hook to get these hints after pulling in code. From the root of the project:
ln -fs ../../extras/hooks/post-merge.hook .git/hooks/post-merge