File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,19 @@ export const denoRunHandler: RunHandler = {
3636
3737 const importMap = normalize ( join ( denoDir , "../run_import_map.json" ) ) ;
3838
39+ const noNet = Deno . env . get ( "QUARTO_RUN_NO_NETWORK" ) === "true" ;
40+
41+ // --cached-only can only be used in bundles as vendoring is not done anymore in dev mode
42+ const cachedOnly = noNet ;
43+
3944 return await execProcess (
4045 {
4146 cmd : [
4247 architectureToolsPath ( "deno" ) ,
4348 "run" ,
4449 "--import-map" ,
4550 importMap ,
46- // --cached-only can only be used in bundles as vendoring is not done anymore in dev mode
47- ...( quartoConfig . isDebug ( ) ? [ ] : [ "--cached-only" ] ) ,
51+ ...( cachedOnly ? [ "--cached-only" ] : [ ] ) ,
4852 "--allow-all" ,
4953 "--unstable-kv" ,
5054 "--unstable-ffi" ,
You can’t perform that action at this time.
0 commit comments