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

Trailing slash for directories #302

Open
jdspugh opened this issue Jan 25, 2023 · 1 comment
Open

Trailing slash for directories #302

jdspugh opened this issue Jan 25, 2023 · 1 comment

Comments

@jdspugh
Copy link

jdspugh commented Jan 25, 2023

inotifywait will distinguish between files and directories modified by having a trailing slash if it's a directory. Can we have the same behaviour in fswatch?

I need it for some code that behaves differently depending on if a file or directory is changed.

@jdspugh
Copy link
Author

jdspugh commented Jan 25, 2023

I see we can detect directories using the "-x" option. But it would be more convenient and efficient with the trailing slash.

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

1 participant