Skip to content

Commit 758ed74

Browse files
committed
Configuring Browsersync for watching .php and .vue files
1 parent fe4f7fc commit 758ed74

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

gulpfile.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,13 @@ elixir((mix) => {
3838
* Syncing files in Browser
3939
*/
4040
mix.browserSync({
41+
files: [
42+
elixir.config.appPath + '/**/*.php',
43+
elixir.config.get('public.css.outputFolder') + '/**/*.css',
44+
elixir.config.get('public.versioning.buildFolder') + '/rev-manifest.json',
45+
'resources/views/**/*.php'
46+
],
4147
proxy: 'app:8080',
4248
open: false,
4349
});
44-
4550
});

0 commit comments

Comments
 (0)