Socket
Socket
Sign inDemoInstall

npm-watch

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-watch - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc