Skip to content

Commit 4039dbe

Browse files
committed
easier server watcher
1 parent 9048d26 commit 4039dbe

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Gruntfile.js

+8-4
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,14 @@ module.exports = function (grunt) {
2828
},
2929
watch: {
3030
options: {
31-
livereload: true,
31+
livereload: false,
3232
debounceDelay: 250
3333
},
3434
scripts: {
3535
files: [
36-
'src/**/*.js',
37-
'test/**/*.js'
36+
'src/**/*.js'
3837
],
39-
tasks: 'build'
38+
tasks: 'buildWatcher'
4039
}
4140
},
4241
karma: {
@@ -179,6 +178,11 @@ module.exports = function (grunt) {
179178
'karma:unit'
180179
]);
181180

181+
grunt.registerTask('buildWatcher', [
182+
'babel',
183+
'concat'
184+
]);
185+
182186
grunt.registerTask('build', [
183187
'jshint:test',
184188
'jshint:src',

0 commit comments

Comments
 (0)