Skip to content

Commit

Permalink
Fix --exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Apr 28, 2020
1 parent 5a0443f commit 34acdd6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
3 changes: 2 additions & 1 deletion src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@ onchange({
add,
awaitWriteFinish,
command,
defaultExclude,
cwd,
defaultExclude,
delay,
exclude,
filter,
initial,
jobs,
Expand Down
28 changes: 14 additions & 14 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,26 +96,26 @@ class Job {
* Onchange configuration options.
*/
export interface Options {
matches: string[];
cwd?: string;
command?: string[];
outpipe?: string;
stdin?: Readable;
stdout?: Writable;
stderr?: Writable;
add?: boolean;
initial?: boolean;
onReady?: () => void;
exclude?: (string | ((path: string) => boolean))[];
awaitWriteFinish?: number;
command?: string[];
cwd?: string;
defaultExclude?: boolean;
kill?: boolean;
env?: NodeJS.ProcessEnv;
delay?: number;
env?: NodeJS.ProcessEnv;
exclude?: (string | ((path: string) => boolean))[];
filter?: string[];
initial?: boolean;
jobs?: number;
kill?: boolean;
killSignal?: NodeJS.Signals;
filter?: string[];
matches: string[];
onReady?: () => void;
outpipe?: string;
poll?: number;
awaitWriteFinish?: number;
stderr?: Writable;
stdin?: Readable;
stdout?: Writable;
verbose?: boolean;
}

Expand Down

0 comments on commit 34acdd6

Please sign in to comment.