Skip to content

Commit ed04965

Browse files
committed
Fix link-cloud.js
1 parent d6f0a2f commit ed04965

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

scripts/link-cloud.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,11 @@ const sdkProcess = spawn("pnpm", ["build:development:watch"], {
8888
shell: true,
8989
})
9090

91-
sdkProcess.on('error', (error) => {
91+
sdkProcess.on("error", (error) => {
9292
log("red", "❌ Failed to start SDK watch mode: " + error.message)
9393
log("yellow", "Make sure 'build:development:watch' script exists in the Cloud SDK package.json")
9494
process.exit(1)
9595
})
96-
cwd: cloudSdkPath,
97-
stdio: ["inherit", "pipe", "pipe"],
98-
shell: true,
99-
})
10096

10197
sdkProcess.stdout.on("data", (data) => {
10298
process.stdout.write(`${colors.blue}[SDK]${colors.reset} ${data}`)

src/tsconfig.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,10 @@
2323
"include": ["."],
2424
"exclude": ["node_modules"],
2525
"watchOptions": {
26-
// Use native file system events for files and directories.
2726
"watchFile": "useFsEvents",
2827
"watchDirectory": "useFsEvents",
29-
// Poll files for updates more frequently when they're updated a lot.
3028
"fallbackPolling": "dynamicPriority",
31-
// Don't coalesce watch notification.
3229
"synchronousWatchDirectory": true,
33-
// Finally, two additional settings for reducing the amount of possible
34-
// files to track work from these directories.
3530
"excludeDirectories": ["**/node_modules", "**/dist", "**/.turbo"]
36-
// "excludeFiles": ["build/fileWhichChangesOften.ts"]
3731
}
3832
}

0 commit comments

Comments
 (0)