This is for watching less and building it automatically.
- Install grunt watch plugin and add dependency to package.json.
- npm install grunt-contrib-watch --save-dev
- Edit Gruntfile.js. ( refer to the one in project )
- add watch task
- load npm watch task
- register the watch task
- run watch task
- grunt mycompile