File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import { architectureToolsPath, resourcePath } from "../resources.ts";
12
12
import { RunHandler , RunHandlerOptions } from "./types.ts" ;
13
13
import { removeIfExists } from "../path.ts" ;
14
14
import { copyTo } from "../copy.ts" ;
15
+ import { quartoConfig } from "../quarto.ts" ;
15
16
16
17
export const denoRunHandler : RunHandler = {
17
18
canHandle : ( script : string ) => {
@@ -42,7 +43,8 @@ export const denoRunHandler: RunHandler = {
42
43
"run" ,
43
44
"--import-map" ,
44
45
importMap ,
45
- "--cached-only" ,
46
+ // --cached-only can only be used in bundles as vendoring is not done anymore in dev mode
47
+ ...( quartoConfig . isDebug ( ) ? [ ] : [ "--cached-only" ] ) ,
46
48
"--allow-all" ,
47
49
"--unstable-kv" ,
48
50
"--unstable-ffi" ,
You can’t perform that action at this time.
0 commit comments