Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fswatch does not track newly created directories recursively when using the inotify monitor #114

Closed
Spiritdude opened this issue Feb 21, 2016 · 7 comments
Labels
Milestone

Comments

@Spiritdude
Copy link

On Linux (Ubuntu 15.10):

% fswatch -drx ./
% mkdir a
% cd a; touch zz.txt

No notification of zz.txt is happening, but creation of dir a/ is happening.

@emcrisostomo
Copy link
Owner

Bug acknowledged.

@emcrisostomo emcrisostomo added this to the 1.9.0 milestone Mar 11, 2016
@emcrisostomo
Copy link
Owner

Hi @Spiritdude,

This should be fixed in the <develop> branch. Would you mind testing it? It will take me some days to rebuild and test fswatch in all the supported platforms.

@Spiritdude
Copy link
Author

I just tested it briefly:

  1. created new dir xx/, ok
  2. created new file xx/aa.txt, ok
  3. created new dir xx/yy/, ok
  4. created new file xx/yy/bb.txt, ok

:-) so it seems fixed, thanks!

@Spiritdude
Copy link
Author

Perhaps close issue when the fix is in the main branch available.

@emcrisostomo
Copy link
Owner

Thanks @Spiritdude for testing this one!

I think we can close this: the milestone tag (1.9.0) specifies the release that will include this fix.

@emcrisostomo emcrisostomo changed the title fswatch (inotify) does not track newly created dirs recursively fswatch does not track newly created directories recursively when using the inotify monitor Mar 27, 2016
@damscal
Copy link

damscal commented Jun 14, 2020

I'm still experiencing this bug with the current ubuntu's package (version 1.14.0)

@YujiShen
Copy link

Same problem when using inotify on Ubuntu 18.04, (fswatch version 1.11.2). poll_monitor does not have this problem, but it report all files under the new folder instead of only report the folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants