Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Add grunt watch task
Browse files Browse the repository at this point in the history
  • Loading branch information
sjmulder committed Mar 16, 2014
1 parent 3ee3d66 commit 132965a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Gruntfile.js
Expand Up @@ -33,5 +33,16 @@ module.exports = function(grunt) {
'Gruntfile.js'
]
},

watch: {
options: { atBegin: true },
files: [
'nbt.js',
'sample/sample.js',
'Gruntfile.js',
'package.json'
],
tasks: ['jshint']
}
});
};
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -17,5 +17,6 @@
"grunt": "~0.4.4",
"grunt-cli": "~0.1.13",
"grunt-contrib-jshint": "~0.9.2",
"grunt-contrib-watch": "~0.6.0"
}
}

0 comments on commit 132965a

Please sign in to comment.