- Re-render html on file changes
- Reload Javascript on file changes
- Reload CSS on file changes (without page refresh)
pugtemplates (renamed fromjade): https://github.com/pugjs/pugstyluscss: http://stylus-lang.com/browserifyfor bundling: http://browserify.org/babel(babelify) &es2015 presetfor transpiling: https://babeljs.io/light-serverfor serving the static files
npm install
npm startVisit: http://localhost:8000
src/ contains the unprocessed files split up in styles, templates, scripts and images.
build/ contains the process files which will be served.
If you add new files - especially images - you may want to restart the server, as the file watcher might not work correctly.
This boilerplate project is also available separately: https://github.com/Scarysize/pug-stylus-es5-boilerplate