Skip to content

Commit

Permalink
Merge pull request #18 from alxndr/quiet
Browse files Browse the repository at this point in the history
make quiet flag a boolean
  • Loading branch information
M-Zuber authored Jul 12, 2016
2 parents f0f0fa1 + 46664a8 commit 7bb0ff1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion watch-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7bb0ff1

Please sign in to comment.