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 flag to other subcommands #7465

Closed
bartlomieju opened this issue Sep 14, 2020 · 1 comment
Closed

Add --watch flag to other subcommands #7465

bartlomieju opened this issue Sep 14, 2020 · 1 comment
Labels
cli related to cli/ dir feat new feature (which has been agreed to/accepted)

Comments

@bartlomieju
Copy link
Member

deno run --watch was added in #7382.

Now we should work towards adding the same flag to other subcommands:

  • bundle
  • fmt
  • lint
  • test

Each of the subcommands might require a bit different approach as not all of them work using ModuleGraph.

We might also want to refactor file_watcher not to create a new watcher after each restart.

@bartlomieju
Copy link
Member Author

This is mostly implemented, still missing deno lint --watch, but let's continue in #11132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli related to cli/ dir feat new feature (which has been agreed to/accepted)
Projects
None yet
Development

No branches or pull requests

1 participant