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.
from fsnotify.
Related Issues (20)
- Unable to build on AppEngine due to unsafe code HOT 2
- Export addOpt HOT 1
- Why not use buffered channels on other operating systems other than windows? HOT 7
- Intermittent test failures HOT 9
- Watch remote servers HOT 1
- Watching a path more than once may not return an error HOT 1
- Make Op.Has check all provided flags HOT 9
- correct way to determine when file writes are finished HOT 4
- How to know by which user the Changes/deleted/added are done ? HOT 2
- fatal error: sync: unlock of unlocked mutex HOT 1
- fatal error: all goroutines are asleep - deadlock! HOT 2
- Inconsistent behavior watching a file on MacOS HOT 4
- Add minimum permissions to workflows HOT 2
- watcher.Events undefined and watcher.Errors undefined HOT 6
- can it find the process, which create the file? HOT 2
- Non-deterministic behavior for file and directory creation events on Mac OSX HOT 2
- Windows received two write events HOT 2
- Add Security Policy HOT 2
- [AIX] When I call Watcher.Add method, the program can not listen to the new directory, file changes HOT 3
- File write event only fired upon file close on Windows (correct behaviour or limitation?) HOT 4
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.