Skip to content

Example repository to demonstrate watchEvents not being used in browser-sync.

Notifications You must be signed in to change notification settings

Riobe/browser-sync-watchEvents-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demonstrates the problem that watchEvents are being ignored.

Repro steps:

  1. npm install and run browser-sync-repro.js or use npm start.
  2. Add a file (like test.js) to the js folder. Notice that browser-sync restarts. This is fine due to watchEvents having 'add' in it.
  3. Delete the same file. Notice that browser-sync reloads again even though watchEvents does not have 'unlink'

These are the repro steps for BrowserSync/browser-sync#1367

About

Example repository to demonstrate watchEvents not being used in browser-sync.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published