Run livereload on changes to php files in the routes folder

This commit is contained in:
Kevin MacMartin 2016-08-23 22:32:16 -04:00
parent 5cf20c3424
commit d295cf83f1

View file

@ -151,7 +151,7 @@ gulp.task("watch", function() {
gLiveReload.listen();
gulp.watch(jsPublic, [ "js-public" ]).on("change", liveReloadUpdate);
gulp.watch(jsDashboard, [ "js-dashboard" ]).on("change", liveReloadUpdate);
gulp.watch([ "app/**/*.php", "resources/views/**/*.blade.php" ]).on("change", liveReloadUpdate);
gulp.watch([ "app/**/*.php", "routes/**/*.php", "resources/views/**/*.blade.php" ]).on("change", liveReloadUpdate);
gulp.watch("resources/assets/sass/**/*.scss", [ "sass-public", "sass-dashboard" ]).on("change", function() {
liveReloadUpdate(1000);