-
Notifications
You must be signed in to change notification settings - Fork 33.7k
fix(Local File Trigger Node): Fix ignored option on Mac os #15872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Local File Trigger Node): Fix ignored option on Mac os #15872
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cubic found 1 issue across 2 files. Review it in cubic.dev
React with 👍 or 👎 to teach cubic. Tag @cubic-dev-ai
to give specific feedback.
packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts
Outdated
Show resolved
Hide resolved
7d10238
to
9082648
Compare
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
9082648
to
b4747c6
Compare
packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts
Outdated
Show resolved
Hide resolved
packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts
Outdated
Show resolved
Hide resolved
packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts
Outdated
Show resolved
Hide resolved
I tested it on mac and it works as expected :) just left some comments on copy |
b4747c6
to
a428473
Compare
a428473
to
8ff830d
Compare
✅ All Cypress E2E specs passed |
Got released with |
Summary
This PR adds a new "Ignore Mode" option to the Local File Trigger node, allowing users to choose between:
Regex (default): standard regex ignore patterns using anymatch syntax.
Function: wraps the ignored value in a function (e.g. (path) => path.includes(value)) to match paths programmatically.
This change addresses a known issue with Chokidar on macOS, where the default ignore behavior using regex does not reliably filter paths. See Chokidar Issue #773 for details.
Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/NODE-2520/community-issue-local-file-trigger-ignore-option-does-not-ignore-files
https://community.n8n.io/t/local-file-trigger-not-ignore-file-paterns/84654/2
fixes #13711
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)