We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Not sure if this is the correct way to do it, but I wanted to save a cache script I could easily run.
"cache": { "desc": "Cache versions and update lock file", "cmd": "deno cache server.ts --lock-write", "lock": "./lock.json" }
The result however when running denon cache is an endless loop instead of just executing it once, looks like this:
denon cache
Now is this a bug or aren't you suppose to add and execute scripts in this way?
The text was updated successfully, but these errors were encountered:
You need to ignore ./lock.json, otherwise it will detect the changes made to it and restart in an infinite loop.
./lock.json
"watcher": { "skip": ["./lock.json"] }
When stuck in an infinite loop you most likely aren't skipping the right files or directory.
Sorry, something went wrong.
Probably we should add a failsafe for infinite loops if they happen within a short (and configurable) timespan. Marking this as a feature.
No branches or pull requests
Not sure if this is the correct way to do it, but I wanted to save a cache script I could easily run.
The result however when running
denon cache
is an endless loop instead of just executing it once, looks like this:Now is this a bug or aren't you suppose to add and execute scripts in this way?
The text was updated successfully, but these errors were encountered: