Comments (11)
phuonglm [10:37 AM]
bug found
[10:37]
https://github.com/guard/rb-inotify/blob/master/lib/rb-inotify/notifier.rb#L208
[10:37]
bug only on Linux
[10:38]
because inotify on linux did not support recursive
[10:38]
and the lib used recursive to add all sub directories into the watch list
[10:39]
and the new sub directories was not added to the watch list => bug
from teracy-dev-v05-compat.
hoatle [6:50 PM]
@egor.k I guess the workaround is: stop the rsync watch and then `$ vagrant gatling-rsync-auto` instead of `$ vagrant reload`, @phuong could you confirm this workaround?
phuong [6:50 PM]
yes, that workaround worked
hoatle [6:51 PM]
@egor.k please use that workaround until we fix it, thank you.
from teracy-dev-v05-compat.
move this issue out of v0.5.0-c1 release, it requires more workload than expected.
from teracy-dev-v05-compat.
From @phuonglm on July 19, 2017 3:0
related issues guard/rb-inotify#75
from teracy-dev-v05-compat.
@duc4nh maybe you could help on this?
from teracy-dev-v05-compat.
this should be the bug fix from extension, so close.
from teracy-dev-v05-compat.
fixes #17
from teracy-dev-v05-compat.
This problem not related to vagrant crash problem, as I checked problem still exists on @hieptranquoc branch.
Step to reproduce
Host is linux. +
phuonglm@:~/Projects/teracy/dev/workspace/iorad$ mkdir test
phuonglm@:~/Projects/teracy/dev/workspace/iorad$ cd test
phuonglm@:~/Projects/teracy/dev/workspace/iorad/test$ mkdir abc
phuonglm@:~/Projects/teracy/dev/workspace/iorad/test$ cd abc/
phuonglm@:~/Projects/teracy/dev/workspace/iorad/test/abc$ touch 123
phuonglm@:~/Projects/teracy/dev/workspace/iorad/test/abc$
from now on, change on abc
directory not trigger rsync. Change make on ~/Projects/teracy/dev/workspace/iorad/
still trigger rsync.
That is the problem with inotify lib.
from teracy-dev-v05-compat.
waiting for hashicorp/vagrant#10460 to use vagrant rsync instead of vagrant-gatling-rsync (on Linux)
from teracy-dev-v05-compat.
so let's do this: if vagrant >= 2.2.3 and platform is Linux => call vagrant rsync-auto
instead of vagrant gatling-rsync-auto
, this should fix the bug.
from teracy-dev-v05-compat.
will be fixed by #24
from teracy-dev-v05-compat.
Related Issues (20)
- vagrant gatling-rsync-auto should auto restart when being crashed HOT 3
- should support both teracy-dev-essential v0.1.0 and v0.2.0 without any warning message
- should update _id to use key name instead of key index HOT 2
- should release v0.2.0
- should not register RsyncRecovery when teracy-dev-essential >= 0.3.0 is used HOT 1
- should update to use teracy-dev-essential v0.3.0
- should release v0.3.0
- directories should be created with recursive by default
- should add files support to copy files HOT 1
- should have bash-completion support (at least on Ubuntu)
- should fix chef_solo nodes cache problem
- should release v0.4.0
- docker-compose was not re-installed when its version config changed HOT 1
- should add Github Actions CI check for the project
- should release v0.5.0
- should upgrade to use the recent latest version of chef_solo HOT 2
- should upgrade to use the recent latest version of chef cookbooks
- should release v0.1.0
- should update manifest to target teracy-dev v0.6.0-a5 and teracy-dev-core v0.4.0
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 teracy-dev-v05-compat.