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

multiple directories in watch #354

Closed
dakom opened this issue Dec 31, 2019 · 3 comments
Closed

multiple directories in watch #354

dakom opened this issue Dec 31, 2019 · 3 comments

Comments

@dakom
Copy link

dakom commented Dec 31, 2019

now that it's possible to add a path to watch (#350 ) - I'm not sure how to add multiple paths.

The syntax for cargo watch itself is to have multiple -w args

I think on the toml side it'd feel natural to have an optional list of paths. e.g.:

watch = { watch = ["./crate1/src", "./crate2/src"] }
@sagiegurari
Copy link
Owner

no problem.

@dakom
Copy link
Author

dakom commented Dec 31, 2019

Cool :)

image

@sagiegurari
Copy link
Owner

since this is a breaking change for something i just pushed, decided to create a new release.
it will be available in about 20 minutes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants