Skip to content

Commit 679a9e0

Browse files
author
Mehdy Dara
committed
Add dep for task gulp scripts:watch
With Webpack (ES6) `gulp watch` use 'scripts:watch' and 'scripts' These two tasks inject module preloader and loader to `.tmp/serve/app/index.js` To fix #457 gulp should wait the end of 'scripts' before launch 'scripts:watch'
1 parent 5a328eb commit 679a9e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/templates/gulp/_scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ module.exports = function(options) {
8888
return webpack(false);
8989
});
9090

91-
gulp.task('scripts:watch', function (callback) {
91+
gulp.task('scripts:watch', ['scripts'], function (callback) {
9292
return webpack(true, callback);
9393
});
9494
<% } %>

0 commit comments

Comments
 (0)