mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-21 16:41:56 +00:00
fix(config): add forensic config write audit and watch attribution
This commit is contained in:
@@ -6,6 +6,12 @@ const args = process.argv.slice(2);
|
||||
const env = { ...process.env };
|
||||
const cwd = process.cwd();
|
||||
const compiler = "tsdown";
|
||||
const watchSession = `${Date.now()}-${process.pid}`;
|
||||
env.OPENCLAW_WATCH_MODE = "1";
|
||||
env.OPENCLAW_WATCH_SESSION = watchSession;
|
||||
if (args.length > 0) {
|
||||
env.OPENCLAW_WATCH_COMMAND = args.join(" ");
|
||||
}
|
||||
|
||||
const initialBuild = spawnSync("pnpm", ["exec", compiler], {
|
||||
cwd,
|
||||
|
||||
Reference in New Issue
Block a user