@velvetmonkey/flywheel-mcp 1.27.3 → 1.27.6
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.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5129,7 +5129,7 @@ var DEFAULT_WATCHER_CONFIG = {
|
|
|
5129
5129
|
flushMs: 1e3,
|
|
5130
5130
|
batchSize: 50,
|
|
5131
5131
|
usePolling: false,
|
|
5132
|
-
pollInterval:
|
|
5132
|
+
pollInterval: 6e4
|
|
5133
5133
|
};
|
|
5134
5134
|
function parseWatcherConfig() {
|
|
5135
5135
|
const debounceMs = parseInt(process.env.FLYWHEEL_DEBOUNCE_MS || "");
|
|
@@ -5386,7 +5386,8 @@ async function main() {
|
|
|
5386
5386
|
console.error(`[Flywheel] Excluding task tags: ${flywheelConfig.exclude_task_tags.join(", ")}`);
|
|
5387
5387
|
}
|
|
5388
5388
|
if (process.env.FLYWHEEL_WATCH !== "false") {
|
|
5389
|
-
|
|
5389
|
+
const useV2Watcher = process.env.FLYWHEEL_WATCH_V2 === "true" || process.env.FLYWHEEL_WATCH_POLL === "true";
|
|
5390
|
+
if (useV2Watcher) {
|
|
5390
5391
|
const config = parseWatcherConfig();
|
|
5391
5392
|
console.error(`[flywheel] File watcher v2 enabled (debounce: ${config.debounceMs}ms, flush: ${config.flushMs}ms)`);
|
|
5392
5393
|
const watcher = createVaultWatcher({
|