File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,11 @@ import {
4646} from "./freeze.ts" ;
4747import { resourceFilesFromRenderedFile } from "./resources.ts" ;
4848import { inputFilesDir } from "../../core/render.ts" ;
49- import { removeIfEmptyDir , removeIfExists , safeRemoveIfExists } from "../../core/path.ts" ;
49+ import {
50+ removeIfEmptyDir ,
51+ removeIfExists ,
52+ safeRemoveIfExists ,
53+ } from "../../core/path.ts" ;
5054import { handlerForScript } from "../../core/run/run.ts" ;
5155import { execProcess } from "../../core/process.ts" ;
5256import { parseShellRunCommand } from "../../core/run/shell.ts" ;
@@ -209,10 +213,11 @@ export async function renderProject(
209213 }
210214
211215 // set executeDaemon to 0 for renders of the entire project
212- // or a list of more than one file (don't want to leave dozens of
213- // kernels in memory)
216+ // or a list of more than 3 files (don't want to leave dozens of
217+ // kernels in memory). we use 3 rather than 1 because w/ blogs
218+ // and listings there may be addtional files added to the render list
214219 if (
215- filesToRender . length > 1 && options . flags &&
220+ filesToRender . length > 3 && options . flags &&
216221 options . flags . executeDaemon === undefined
217222 ) {
218223 options . flags . executeDaemon = 0 ;
You can’t perform that action at this time.
0 commit comments