-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reload browser when a new file is added in a watched directory #1291
Comments
@thejohnfreeman Adding module.exports = {
"server": true,
"serveStatic": ["source"],
"files": ["source"],
"watchEvents": ["add", "change"]
} |
10 tasks
21 tasks
18 tasks
18 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue details
BrowserSync will not reload the browser when a new file is added in a source directory, but it will reload on subsequent changes to that new file. I suspect BrowserSync is watching only the 'change' event from chokidar, and not the 'add' event, but I have not investigated at all.
Steps to reproduce/test case
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
browser-sync start --config browser-sync.config.js
Related: #93
The text was updated successfully, but these errors were encountered: