PermissionDenied for denon cmd
borsemayur2 opened this issue · comments
Mayur Borse commented
Below config works with deno run mod.ts
command but fails for denon run mod.ts
command
Versions:
deno: 1.8.1
denon: v2.4.7
velociraptor: v1.0.0-beta.17
allow:
- net
scripts:
start:
cmd: denon run mod.ts # deno run mod.ts works
allow:
net: 127.0.0.1
Umberto Pepato commented
Hey @borsemayur2, thanks for opening this issue!
This is the intended behavior: vr only recognizes deno
calls to inject permissions and other options. However, you could use the watch
option to reload on file changes:
scripts:
start:
cmd: mod.ts
watch: true
allow:
net: 127.0.0.1
Mayur Borse commented
Hey @borsemayur2, thanks for opening this issue!
This is the intended behavior: vr only recognizesdeno
calls to inject permissions and other options. However, you could use thewatch
option to reload on file changes:scripts: start: cmd: mod.ts watch: true allow: net: 127.0.0.1
Okay. Thanks