fix(server): update fff to stop runaway watcher rescans (#14543)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Yash Singh <[email protected]>
This commit is contained in:
8 files changed
+140
-99
No files matched your search
@@ -1527,7 +1527,7 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
|
||||
primaryProbe.args[4],
|
||||
path.join(
|
||||
fixture.packagedAppDir,
|
||||
"resources/server.asar/node_modules/@ff-labs/fff-node/dist/src/index.js",
|
||||
"resources/server.asar/node_modules/@ff-labs/fff-node/dist/index.js",
|
||||
),
|
||||
);
|
||||
assert.equal(primaryProbe.options.cwd, fixture.packagedAppDir);
|
||||
|
||||
@@ -3236,10 +3236,7 @@ export const verifyWindowsPrimaryFffNativeLoad = Effect.fn(
|
||||
const probeRoot = yield* fs.makeTempDirectoryScoped({
|
||||
prefix: "t3code-windows-primary-native-probe-",
|
||||
});
|
||||
const fffEntryPath = path.join(
|
||||
input.asarPath,
|
||||
"node_modules/@ff-labs/fff-node/dist/src/index.js",
|
||||
);
|
||||
const fffEntryPath = path.join(input.asarPath, "node_modules/@ff-labs/fff-node/dist/index.js");
|
||||
const probeEnv = { ...process.env };
|
||||
delete probeEnv.ELECTRON_NO_ASAR;
|
||||
delete probeEnv.NODE_OPTIONS;
|
||||
|
||||
Reference in new issue
Block a user