Closed pepperoni505 closed 2 months ago
ok so to solve that using the locked workaround, need to change the runner.rs which installs cargo watch in the first place. dependencies :( a workaround is that you install cargo watch yourself and than cargo-make will use that installation automatically (should work)
That worked. Thank you!
Describe The Bug
Adding
watch
to a task causes the task to fail. There is an issue on thecargo-watch
repo that mentions a solution to this, which is to install with the--locked
flag. Per the documentation, I have tried addingCARGO_MAKE_CRATE_INSTALLATION_LOCKED = "true"
to myenv
section but that didn't seem to get it to add the locked flagTo Reproduce
Use the
Makefile.toml
sample provided belowError Stack
Code Sample