Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "npm-watch", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "run scripts from package.json when files change", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -30,2 +30,3 @@ # npm-watch | ||
If you need to watch files with extensions other than those that `nodemon` watches [by default](https://github.com/remy/nodemon#specifying-extension-watch-list) (`.js`, `.coffee`, `.litcoffee`), you can set the value to an object with `patterns` and `extensions` keys. You can also add an `ignore` key (a list or a string) to ignore specific files. Finally, you can add a `quiet` flag to hide the script name in any output on stdout or stderr. | ||
> The `quiet` flag was changed from a `string` to a `boolean` in `0.1.5`. Backwards compatability will be kept for two patch versions. | ||
@@ -39,3 +40,3 @@ ```javascript | ||
"ignore": "src/vendor/external.min.js", | ||
"quiet": "true" | ||
"quiet": true | ||
} | ||
@@ -42,0 +43,0 @@ }, |
@@ -81,3 +81,3 @@ 'use strict'; | ||
}) | ||
if (quiet === 'true') { | ||
if (quiet === true || quiet === 'true') { | ||
proc.stdout.pipe(stdin.stdout) | ||
@@ -84,0 +84,0 @@ proc.stderr.pipe(stdin.stderr) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8722
96