I have a problem with Gulp watch rather particular. I am working on Linux and I am using Browser-Sync with Gulp, my intention is that when I modify any file of my project I recharge the browser and the devices that I have visualizing automatically. This had already been done but I was working on Windows .
The instruction is simple:
return watch('./**/*.*').on('change', browserSync.reload);
This in Windows works perfect but in Linux it does not. What I found is that he does not even receive me. nor the / at the beginning of the chain. If I put only *.*
works fine, but obviously that's not good for me.
Does anyone have any idea how to solve this problem?
Thanks