Demonstrates the problem that watchEvents are being ignored.
Repro steps:
- npm install and run browser-sync-repro.js or use npm start.
- 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. - 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