Skip to content

Commit

Permalink
Fix gulp watch
Browse files Browse the repository at this point in the history
Use polling to watch files from within vagrant VM.

Fixes azavea#1036.
  • Loading branch information
flibbertigibbet committed Sep 5, 2019
1 parent aa8800c commit 4bf31de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ gulp.task('watch', function () {
'app/scripts/**/*.js',
'app/styles/**/*.css',
'app/styles/**/*.scss'
], gulp.series('development'));
], { usePolling: true }, gulp.series('development'));
});

gulp.task('default', gulp.series('development'));
gulp.task('default', gulp.series('watch'));

0 comments on commit 4bf31de

Please sign in to comment.