Giter Site home page Giter Site logo

Comments (11)

hoatle avatar hoatle commented on July 18, 2024
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 avatar hoatle commented on July 18, 2024
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.

hoatle avatar hoatle commented on July 18, 2024

move this issue out of v0.5.0-c1 release, it requires more workload than expected.

from teracy-dev-v05-compat.

hoatle avatar hoatle commented on July 18, 2024

From @phuonglm on July 19, 2017 3:0

related issues guard/rb-inotify#75

from teracy-dev-v05-compat.

hoatle avatar hoatle commented on July 18, 2024

@duc4nh maybe you could help on this?

from teracy-dev-v05-compat.

hoatle avatar hoatle commented on July 18, 2024

this should be the bug fix from extension, so close.

from teracy-dev-v05-compat.

hieptranquoc avatar hieptranquoc commented on July 18, 2024

fixes #17

from teracy-dev-v05-compat.

phuonglm avatar phuonglm commented on July 18, 2024

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.

hoatle avatar hoatle commented on July 18, 2024

waiting for hashicorp/vagrant#10460 to use vagrant rsync instead of vagrant-gatling-rsync (on Linux)

from teracy-dev-v05-compat.

hoatle avatar hoatle commented on July 18, 2024

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.

hoatle avatar hoatle commented on July 18, 2024

will be fixed by #24

from teracy-dev-v05-compat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.