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

-1 flag prints the file changed 3x before exiting #256

Closed
jleider opened this issue Sep 24, 2020 · 2 comments
Closed

-1 flag prints the file changed 3x before exiting #256

jleider opened this issue Sep 24, 2020 · 2 comments

Comments

@jleider
Copy link

jleider commented Sep 24, 2020

Ubuntu 20.04, fswatch 1.14.0

Even with the -1 flag I get 3x the number of lines output vs on mac where I only see 1.

On Linux
$ fswatch -1 /path
/path/file.ext
/path/file.ext
/path/file.ext

On Mac:
$ fswatch -1 /path
/path/file.ext

This might be related to #255

@emcrisostomo
Copy link
Owner

Different OS behave differently, output can't be guaranteed to be the same. Have you tried printing the event flags to see what's being reported?

@emcrisostomo
Copy link
Owner

See #255 (fixed in master)

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

No branches or pull requests

2 participants