Removing the need for gulp-watch
This commit is contained in:
parent
6e3470d5c7
commit
371e4adc29
@ -32,11 +32,11 @@ gulp.task('docs:files', function() {
|
||||
});
|
||||
|
||||
gulp.task('server', ['build'], function() {
|
||||
var connect = require('gulp-connect'),
|
||||
watch = require('gulp-watch');
|
||||
var connect = require('gulp-connect');
|
||||
|
||||
watch(config.buildPath('**/*'), { name: 'Server' })
|
||||
.pipe(connect.reload());
|
||||
gulp.watch(config.buildPath('**/*'), function(file) {
|
||||
return gulp.src(file.path).pipe(connect.reload());
|
||||
});
|
||||
|
||||
return connect.server({
|
||||
root: config.buildRoot,
|
||||
|
@ -21,7 +21,6 @@
|
||||
"gulp-notify": "^2.0.1",
|
||||
"gulp-plumber": "^1.0.0",
|
||||
"gulp-tap": "^0.1.3",
|
||||
"gulp-watch": "^4.2.4",
|
||||
"gulp-wrap": "^0.11.0",
|
||||
"karma": "^0.12.31",
|
||||
"karma-browserify": "^1.0.1",
|
||||
|
Loading…
Reference in New Issue
Block a user