From 641d051830cbb8e5de17b5d373e016353e08b609 Mon Sep 17 00:00:00 2001 From: Marcel <13757952+marzn@users.noreply.github.com> Date: Mon, 5 Dec 2022 22:49:43 +0100 Subject: [PATCH] fix(LocalFileTrigger): empty string as value for chokidar watch watchOptions.ignored (#4824) --- .../nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts b/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts index 893535ed8da2c..7dcf7625d7f0e 100644 --- a/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts +++ b/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts @@ -182,7 +182,7 @@ export class LocalFileTrigger implements INodeType { } const watcher = watch(path, { - ignored: options.ignored, + ignored: options.ignored === '' ? undefined : options.ignored, persistent: true, ignoreInitial: true, followSymlinks: