diff --git a/package.json b/package.json index 2936e51..764b3c4 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "tiny-jsonc": "^1.0.1", "tiny-readdir-glob": "^1.1.0", "tiny-spinner": "^2.0.3", - "worktank": "^2.5.2", + "worktank": "^2.6.0", "zeptomatch": "^1.2.2" }, "peerDependencies": { diff --git a/src/prettier_parallel.ts b/src/prettier_parallel.ts index 4bac202..18c61f3 100644 --- a/src/prettier_parallel.ts +++ b/src/prettier_parallel.ts @@ -8,6 +8,7 @@ function makeParallel(options: Options): Prettier { name: "prettier", size: options.parallelWorkers || Math.max(1, os.cpus().length - 1), methods: new URL("./prettier_serial.js", import.meta.url), + warmup: true, }); return {