buildWorkDir

tcmts.cli.web.buildWorkDir · #2ffkr4i5 · term · runs on the server

uses node:path

Where builds are made, each in a directory of its own (<hash>.<pid>-<random>), and where the leases on builds are kept (leaseBuilds).

import type { Codebase } from "#codebase/tcmts/cli/codebase";
import path from "node:path";

export const buildWorkDir = (cb: Codebase) => path.join(cb.lay.tcmDir, "build")

uses

used by