A starting point for building static websites with Grunt.
Grunt will...
- clean out folders and files left over in the build directory, then
- copy over images,
- compile jade pages using a layout template,
- pull in jade includes,
- compile stylus and coffeescript,
- start a webserver and open the site in your browser, then
- refresh your browser tab when you make any changes (requires livereload browser extension)
$ git clone https://github.com/sampl/grunt-boilerplate.git
$ cd grunt-boilerplate
$ npm install
$ grunt
If npm install
fails, try sudo npm install