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

Watch: consider using chokidar in watcher. #48

Open
querielo opened this issue Aug 31, 2022 · 1 comment
Open

Watch: consider using chokidar in watcher. #48

querielo opened this issue Aug 31, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@querielo
Copy link
Contributor

Right now, playcanvas-sync uses an infinite loop to check state of files. It can cause high CPU utilization especially if we have too many files. There are libraries for this like chokidar.

@yaustar yaustar added the enhancement New feature or request label Aug 31, 2022
@querielo querielo changed the title Consider using chokidar in watcher. Watch: consider using chokidar in watcher. Aug 31, 2022
@querielo
Copy link
Contributor Author

The problem can be escalated if we need to check file hashes as described here

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

No branches or pull requests

3 participants