denosaurs/denon

Trigger failsafe if many reloads are triggered

Open

#54 opened on May 29, 2020

 (2 comments) (0 reactions) (0 assignees)TypeScript (43 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (1,109 stars)
PR merge metrics
 (PR metrics pending)

Description

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:

Skärmavbild 2020-05-29 kl  19 10 40

Now is this a bug or aren't you suppose to add and execute scripts in this way?

Contributor guide