Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

compileCache.ts

8 lines297 Bytes

1import * as NodeModule from "node:module";
2import * as Effect from "effect/Effect";
3​
4// Windows force-kills the backend on quit, so persist it after startup instead
5// of waiting for exit.
6export const flushCompileCache = Effect.try(() => NodeModule.flushCompileCache()).pipe(
7 Effect.ignore,
8);