Skip to content

feat: replace fsWatch by chokidar #80

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

Merged
merged 1 commit into from
Mar 21, 2025
Merged

feat: replace fsWatch by chokidar #80

merged 1 commit into from
Mar 21, 2025

Conversation

peterpeterparker
Copy link
Contributor

On one hand, there was an issue when re-adding .wasm or .mjs files to the /target/deploy folder—those changes weren’t detected. Deleting a file and then adding it again, even if the build was different, didn’t trigger a new deploy.

On the other hand, there was also a strange issue: if an exception occurred in a watcher, the watcher would stop entirely, even though the errors were properly caught. This was problematic, as developers had to restart their environment to build and deploy again.

Long story short, using Chokidar resolved both issues.

@peterpeterparker peterpeterparker merged commit e81d399 into main Mar 21, 2025
5 checks passed
@peterpeterparker peterpeterparker deleted the feat/chokidar branch March 21, 2025 16:54
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

Successfully merging this pull request may close these issues.

1 participant