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

Delay watcher setup until a target actually gets executed #60

Open
fbecart opened this issue Jul 25, 2020 · 1 comment
Open

Delay watcher setup until a target actually gets executed #60

fbecart opened this issue Jul 25, 2020 · 1 comment
Labels
bug Something isn't working performance

Comments

@fbecart
Copy link
Owner

fbecart commented Jul 25, 2020

At the moment, Žinoma initializes file watchers as it initializes target actors.

The creation of watchers could be delayed until a target is executed for the first time. This would improve the startup time (and the resource usage) of the watch mode.

@fbecart
Copy link
Owner Author

fbecart commented Oct 7, 2020

This would also fix a bug that occurs when watching directly after a clean: cleaned file are not present from the start, and the watcher currently skips them.

@fbecart fbecart added the bug Something isn't working label Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance
Projects
None yet
Development

No branches or pull requests

1 participant