Comments (8)
Hi Otto. Sorry for not digging into this sooner. I've never used Revel before, but I got the booking sample running with some additional logging (on the develop branch).
Your previous bisect had pointed to 4a0d1ae being the culprit. Most of those changes are to addWatch, so I added some logging there and compared against ca50e73. With the result you're seeing, it seems plausible that it was watching more than it was previously.
So far I haven't figured it out. Still digging. It might be worth confirming that bisect, since you said it wasn't 100% reproducible. If it was a commit before, that could change things quite a lot.
If there was a medium sized open source Revel app that we could reproduce this on, that would make it much easier. It might even be reproducible with a similar file structure to your app, even if those files don't contain the same code. /cc @robfig
from fsnotify.
@ottob I hope you have Spotlight disabled for your folder, which can randomly decide to create events. https://github.com/go-fsnotify/fsnotify/wiki/FAQ.
Though if not disabled, I'd expect you'd see the same problems on v1.0.4 as well.
from fsnotify.
from fsnotify.
Feel free to close this. I will re-open if I ever manage to write a test that triggers the issue.
from fsnotify.
I've ran into a very similar issue here. nathany/looper#18 It is reliably reproducible. Looking into a fix now.
from fsnotify.
@ottob I believe this to be fixed on master. Stupid mistake on my part. Sorry for all the trouble.
from fsnotify.
Feel free to reopen this issue if you still see the issue.
from fsnotify.
👏 thanks for tracking it down.
from fsnotify.
Related Issues (20)
- When remove a watching directory not triggered remove event HOT 5
- How to get the process info that modified the file HOT 3
- fsnotify: queue or buffer overflow HOT 1
- In Docker container. fsnotify package error: "fsnotify: queue or buffer overflow. " HOT 5
- Add dependabot to update your GitHub Actions HOT 1
- The reason why queue or buffer overflow? HOT 1
- Support for intermediary multiplexer like watchman HOT 5
- Infinite WRITE events when watching $TMPDIR on MacOS HOT 3
- Write Events Fired Multiple Times for File Changes HOT 1
- Can we add a polling interval to the watcher to scan the mentioned directory after a particular time interval and not continuously? HOT 6
- Proposed approach for a different type of fanotify backend HOT 10
- Inconsistent behavior of WatchList on Windows and Unix HOT 5
- Received an unexpected is to see HOT 2
- There is a directory with some files in it, watch this directory and how to return the files that already exist. HOT 1
- panic in v1.7.0 HOT 8
- illumos: track renames HOT 1
- documentation: double `to to` in Add method of fsnotify.Watcher HOT 3
- support of CLOSE_WRITE event does not work HOT 11
- When removing symlink no events happens on MacOS. HOT 1
- When adding invalid directory to watch list it is return error but also adding to list too.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fsnotify.