You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser-sync suddenly stopped working on one project. There is no evidence that it connects to my local virtual host, nothing in the apache logs.
At start up it opens a new browser tab but only shows the message: Directory access is forbidden.
The console shows that it is "Watching files..." and that it is "Reloading Browsers..." but the browser does not reload.
I've checked the file permissions but they are correct.
Steps to reproduce/test case
Initially browser-sync was working fine.
Run browser-sync using Gulp.
Save an image to a directory that is part of the app.
Browser now shows Directory access is forbidden.
I've never seen this happen before. It looks like a permissions issue but maybe there is a directory that I have missed? The obvious place to look is the directory where the image was saved to but I can see nothing amiss there.
Please specify which version of Browsersync, node and npm you're running
Browsersync [ 2.27.11 ]
Node [ v19.2.0 ]
Npm [ 8.19.3 ]
Affected platforms
[x ] linux
windows
OS X
freebsd
solaris
other (please specify which)
Browsersync use-case
API
[x ] Gulp
Grunt
CLI
If CLI, please paste the entire command below
{cli command here}
for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync
Issue details
Gulp version 4.0.2
Apache version 2.4.54
Browser-sync suddenly stopped working on one project. There is no evidence that it connects to my local virtual host, nothing in the apache logs.
At start up it opens a new browser tab but only shows the message:
Directory access is forbidden.
The console shows that it is "Watching files..." and that it is "Reloading Browsers..." but the browser does not reload.
I've checked the file permissions but they are correct.
Steps to reproduce/test case
Initially browser-sync was working fine.
Run browser-sync using Gulp.
Save an image to a directory that is part of the app.
Browser now shows
Directory access is forbidden.
I've never seen this happen before. It looks like a permissions issue but maybe there is a directory that I have missed? The obvious place to look is the directory where the image was saved to but I can see nothing amiss there.
Please specify which version of Browsersync, node and npm you're running
Affected platforms
Browsersync use-case
If CLI, please paste the entire command below
{cli command here}
for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync
Below is the relevant part of the gulp code:
The text was updated successfully, but these errors were encountered: