Skip to content

Commit

Permalink
fix: fix defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzyma committed Jan 13, 2025
1 parent 5bb749c commit 48517de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ export class FSWatcher extends EventEmitter<FSWatcherEventMap> {
const DEF_AWF = { stabilityThreshold: 2000, pollInterval: 100 };
const opts: FSWInstanceOptions = {
// Defaults
..._opts,
persistent: _opts.persistent ?? true,
ignoreInitial: _opts.ignoreInitial ?? false,
ignorePermissionErrors: _opts.ignorePermissionErrors ?? false,
Expand Down

0 comments on commit 48517de

Please sign in to comment.