@mcp-use/cli 2.12.1 → 2.12.2-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +19 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -10
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -5413,16 +5413,25 @@ program.command("dev").description("Run development server with auto-reload and
|
|
|
5413
5413
|
}
|
|
5414
5414
|
const watcher = chokidar.watch(".", {
|
|
5415
5415
|
cwd: projectPath,
|
|
5416
|
-
ignored:
|
|
5417
|
-
/
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
"
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5416
|
+
ignored: (path6, stats) => {
|
|
5417
|
+
const normalizedPath = path6.replace(/\\/g, "/");
|
|
5418
|
+
if (/(^|\/)\.[^/]/.test(normalizedPath)) {
|
|
5419
|
+
return true;
|
|
5420
|
+
}
|
|
5421
|
+
if (normalizedPath.includes("/node_modules/") || normalizedPath.endsWith("/node_modules")) {
|
|
5422
|
+
return true;
|
|
5423
|
+
}
|
|
5424
|
+
if (normalizedPath.includes("/dist/") || normalizedPath.endsWith("/dist")) {
|
|
5425
|
+
return true;
|
|
5426
|
+
}
|
|
5427
|
+
if (normalizedPath.includes("/resources/") || normalizedPath.endsWith("/resources")) {
|
|
5428
|
+
return true;
|
|
5429
|
+
}
|
|
5430
|
+
if (stats?.isFile() && normalizedPath.endsWith(".d.ts")) {
|
|
5431
|
+
return true;
|
|
5432
|
+
}
|
|
5433
|
+
return false;
|
|
5434
|
+
},
|
|
5426
5435
|
persistent: true,
|
|
5427
5436
|
ignoreInitial: true,
|
|
5428
5437
|
depth: 3
|