Skip to content

Commit b9116c5

Browse files
committed
Build: use watch task
Watches only `src/*.js` & `test/*.js`
1 parent def50c5 commit b9116c5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Gruntfile.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports = function(grunt) {
2727
"src/ajax.js",
2828
"src/data.js",
2929
"src/manipulation.js",
30+
"src/effects.js",
3031
"src/event.js",
3132
"src/traversing.js",
3233
"src/deferred.js",
@@ -107,8 +108,11 @@ module.exports = function(grunt) {
107108
ascii_only: true
108109
}
109110
}
110-
111-
}
111+
},
112+
watch: {
113+
files: [ "src/*.js", "test/*.js" ],
114+
tasks: [ "buildnounit" ]
115+
},
112116
});
113117

114118
// Load grunt tasks from NPM packages

0 commit comments

Comments
 (0)