build(gulp): don't double build during init of serve.js.dev

This commit is contained in:
Igor Minar 2015-06-08 21:53:51 -07:00
parent 1eefde7f0d
commit 5df56b47d6
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ gulp.task('build/checkCircularDependencies', function (done) {
// ------------------
// web servers
gulp.task('serve.js.dev', ['build.js.dev'], function(neverDone) {
watch('modules/**', '!broccoli.js.dev');
watch('modules/**', { ignoreInitial: true }, '!broccoli.js.dev');
jsserve(gulp, gulpPlugins, {
path: CONFIG.dest.js.dev.es5,