Build, Serve and Watch:
gulp in the Wingman folder will compile the sources to
dist then start a local Browsersync instance on port
3000 to serve and refresh your pages as you
The default task runs the following operations:
- clean:dist : The
distfolder is emptied. All files in
- html: All
.htmlfiles are copied from
dist. Only newer files are copied.
- sass-min: Compiles
dist/assets/cssalong with appropriate
- copy-assets: Copies any newer files from
- serve: Starts a Browsersync instance on port
dist, defaults to
- watch: Monitors the following files and runs the corresponding tasks:
pages/*.html, then runs the html task.
scss/*.scss, then runs the sass-min task.
js/bootstrap/*.js: then runs the bootstrap-js task.
js/mrare/*.js: then runs the mrare-js task.
assets/*.*: then runs the copy-assets task.
is configured in the
error and re-run
gulp. This is done to prevent distribution of unlinted code.
The Browsersync server and Gulp's watch task will continue to run until instructed to quit via Ctrl+C or if the terminal/command window is closed.
When the server process quits, the
dist folder is left intact with the latest version of compiled files within.