If I ignore `.env` with `.gitignore` is there a way to watch it?
Opened this issue · 2 comments
frederikhors commented
I have this .gitignore
:
/.dist
/.tmp
/.env
... and a lot more
and as you can see I'm ignoring .env
file.
I'm using this command:
cargo watch --ignore "some" --ignore "some/another" -x run
But if I change the .env
file obviously it doesn't re-run.
Is there a way to tell it to watch the .env
file?
Something like:
cargo watch --ignore "some" --ignore "some/another" --watch ".env" -x run
passcod commented
not yet in cargo watch. we do have negative filters in watchexec, !pattern
frederikhors commented
Thanks. Can we leave this open until?