make
ormake serve
to build the website, serve the website on http://localhost:4200/, and watch for any changes to the development files and rebuild on any change and re-serve the website automatically. It will also fire Live Reload events for the web browser to automatically reload after every rebuild.
make open
will open the web browser pointing to this website.
-
Enable LiveReload with the web browser (install the LiveReload extension if not installed). This means the web browser will automatically reload the page every time a new build is made.
-
Develop away. :)
To create a distribution:
make build
and the built website is in the dist
folder.
The Brocfile.js
file is well annotated with explanations of what the various things do.
The Makefile
is just a simpler alternative to having a Gruntfile.js
for task runners.
Please do feel free to raise an issue here or tweet me at @bjfletcher.