From 4d5b4dd4c57408943f170b93f6913b6b4fc7f194 Mon Sep 17 00:00:00 2001 From: Viktor Verebelyi Date: Mon, 4 Jul 2016 04:33:31 +0100 Subject: [PATCH] Added code for pushing notification to the client --- gulp/watch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulp/watch.js b/gulp/watch.js index d140558..3cbd458 100644 --- a/gulp/watch.js +++ b/gulp/watch.js @@ -34,6 +34,6 @@ gulp.task('watch', ['inject'], function () { }); gulp.watch(path.join(conf.paths.src, '/app/**/*.html'), function(event) { - browserSync.reload(event.path); + browserSync.notify("reload:ng:views");//Push notification to clien with browserSync }); });