This repository is a starting point for any node/express project. Grunt.js is also included with a set of common grunt tasks.
- npm
- node
- express
- jade
- grunt
Clone the repository and npm install
$ git clone https://github.com/marcusmolchany/node-express-grunt-starter
$ cd node-express-grunt-starter
$ npm install
$ npm start
To run the default grunt tasks type
$ grunt
This will run everything in the default task array in Gruntfile.js, and then stop
grunt.registerTask('default', [
'jshint',
'csslint',
'concat',
'uglify',
'cssmin'
]);
If you want to have these tasks execute everytime you save a change run the watch task in a separate terminal window
$ grunt watchTask
This task will hang until you ctrl-c. It will run the same list of tasks in the default array.