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

Yes Will there be a situation where the directory is locked during the monitoring process? #53

Open
wll8 opened this issue Jan 19, 2023 · 3 comments

Comments

@hoperyy
Copy link
Owner

hoperyy commented Jan 19, 2023

Perhaps yes. sync-directory uses chokidar to watch file/folder changes.

@wll8
Copy link
Author

wll8 commented Jan 19, 2023

After testing, it does prevent me from modifying the filename. But the author of chokidar doesn't intend to fix it.

Tools such as sync or syncthing do not cause directory locks, which means there is a way around this.

I think adobe/brackets#6686 is a solution, can you help me to solve it in sync-directory with patch?

@hoperyy
Copy link
Owner

hoperyy commented Jan 19, 2023

It's quit a new way! I'll think of it and response here when ready.

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