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

Add watch capability to any tool #319

Open
evanweible-wf opened this issue Oct 8, 2019 · 0 comments
Open

Add watch capability to any tool #319

evanweible-wf opened this issue Oct 8, 2019 · 0 comments

Comments

@evanweible-wf
Copy link
Contributor

Theoretically, it could be useful to be able to enable a "watcher" for any ddev target so that it automatically re-runs on filesystem changes. This could probably be implemented as a separate ddev watch target or as a common --watch mode on each individual target, and we could use package:watcher to accomplish this.

However, I'm not sure how useful this mode would be in practice. Consider:

  • ddev analyze - IDEs already support live analysis results
  • ddev format - IDEs support format-on-save and we are considering creating plugins for VSCode/IntelliJ that support custom formatters (ddev format or over_react_format)
  • ddev test - this is the one that would probably benefit the most from a watcher, especially when used in smaller projects with fast re-build times or when used in tandem with the ddev test <path/to/test.dart> usage that automatically filters the build
  • ddev serve` - already has a watcher builtin
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