Skip to content

Commit

Permalink
Merge pull request #3464 from andyfleming/patch-1
Browse files Browse the repository at this point in the history
Adding string[] to "watch" value in StartOptions (TypeScript definition file)
  • Loading branch information
wallet77 authored Feb 14, 2018
2 parents 46948a9 + 72f6ef6 commit dd9ebb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export interface StartOptions {
/**
* If set to true, the application will be restarted on change of the script file.
*/
watch?: boolean;
watch?: boolean|string[];
/**
* (Default: false) By default, pm2 will only start a script if that script isn’t
* already running (a script is a path to an application, not the name of an application
Expand Down

0 comments on commit dd9ebb6

Please sign in to comment.