diff --git a/README.md b/README.md index 0aaeb49..da6a728 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ If you need to watch files with extensions other than those that `nodemon` watch "patterns": ["src", "test"], "extensions": "js,jsx", "ignore": "src/vendor/external.min.js", - "quiet": "true" + "quiet": true } }, "scripts": { diff --git a/watch-package.js b/watch-package.js index 39d122a..edcbaac 100644 --- a/watch-package.js +++ b/watch-package.js @@ -78,7 +78,7 @@ module.exports = function watchPackage (pkgDir, exit) { cwd: pkgDir, stdio: 'pipe' }) - if (quiet === 'true') { + if (quiet === true) { proc.stdout.pipe(stdin.stdout) proc.stderr.pipe(stdin.stderr) } else {