Skip to content

Commit

Permalink
simple way to watch for changes to trigger a build (#3372)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhayden authored and asturur committed Oct 27, 2016
1 parent 1e7ba5b commit 60442b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"license": "MIT",
"scripts": {
"build": "node build.js modules=ALL exclude=json,gestures",
"build:watch": "onchange 'src/**/**' 'test/**/**' 'HEADER.js' 'lib/**/**' -- npm run build",
"build_with_gestures": "node build.js modules=ALL exclude=json",
"test": "node test.js",
"lint": "eslint --config .eslintrc.json src",
Expand All @@ -53,7 +54,8 @@
"uglify-js": "2.7.x",
"eslint": "2.x.x",
"qunit": "0.9.x",
"istanbul": "0.4.x"
"istanbul": "0.4.x",
"onchange": "^3.0.2"
},
"engines": {
"node": ">=0.4.0"
Expand Down

0 comments on commit 60442b8

Please sign in to comment.