New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-contrib-watch

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-contrib-watch - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

17

docs/watch-examples.md

@@ -7,5 +7,5 @@ # Examples

watch: {
files: '**/*',
tasks: ['jshint']
}
files: ['**/*'],
tasks: ['jshint'],
},
});

@@ -21,15 +21,12 @@ ```

tasks: ['jshint:gruntfile'],
options: {
nocase: true
}
},
src: {
files: ['lib/*.js', 'css/**/*.scss', '!lib/dontwatch.js'],
tasks: ['default']
tasks: ['default'],
},
test: {
files: '<%= jshint.test.src %>',
tasks: ['jshint:test', 'qunit']
}
}
tasks: ['jshint:test', 'qunit'],
},
},
});

@@ -36,0 +33,0 @@ ```

@@ -28,6 +28,6 @@ # Settings

options: {
nospawn: true
}
}
}
nospawn: true,
},
},
},
```

@@ -48,6 +48,6 @@

options: {
interrupt: true
}
}
}
interrupt: true,
},
},
},
```

@@ -68,6 +68,6 @@

options: {
debounceDelay: 250
}
}
}
debounceDelay: 250,
},
},
},
```

@@ -94,6 +94,6 @@

options: {
event: ['added', 'deleted']
}
}
}
event: ['added', 'deleted'],
},
},
},
```

@@ -100,0 +100,0 @@

{
"name": "grunt-contrib-watch",
"description": "Run predefined tasks whenever watched file patterns are added, changed or deleted.",
"version": "0.4.1",
"version": "0.4.2",
"homepage": "https://github.com/gruntjs/grunt-contrib-watch",

@@ -6,0 +6,0 @@ "author": {

@@ -56,6 +56,6 @@ # grunt-contrib-watch [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-watch.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-watch)

options: {
nospawn: true
}
}
}
nospawn: true,
},
},
},
```

@@ -76,6 +76,6 @@

options: {
interrupt: true
}
}
}
interrupt: true,
},
},
},
```

@@ -96,6 +96,6 @@

options: {
debounceDelay: 250
}
}
}
debounceDelay: 250,
},
},
},
```

@@ -122,6 +122,6 @@

options: {
event: ['added', 'deleted']
}
}
}
event: ['added', 'deleted'],
},
},
},
```

@@ -162,5 +162,5 @@

watch: {
files: '**/*',
tasks: ['jshint']
}
files: ['**/*'],
tasks: ['jshint'],
},
});

@@ -176,15 +176,12 @@ ```

tasks: ['jshint:gruntfile'],
options: {
nocase: true
}
},
src: {
files: ['lib/*.js', 'css/**/*.scss', '!lib/dontwatch.js'],
tasks: ['default']
tasks: ['default'],
},
test: {
files: '<%= jshint.test.src %>',
tasks: ['jshint:test', 'qunit']
}
}
tasks: ['jshint:test', 'qunit'],
},
},
});

@@ -333,2 +330,3 @@ ```

* 2013-05-09   v0.4.2   Fix for closing watchers.
* 2013-05-09   v0.4.1   Removed "beep" notification. Tasks now optional with livereload option. Reverted "run again" with interrupt off to fix infinite recursion issue. Watchers now close more properly on task run.

@@ -352,2 +350,2 @@ * 2013-05-03   v0.4.0   Option livereload to start live reload servers. Will reload a Gruntfile before running tasks if Gruntfile is modified. Option event to only trigger watch on certain events. Refactor watch task into separate task runs per target. Option forever to override grunt.fatal/warn to help keeping the watch alive with nospawn enabled. Emit a beep upon complete. Logs all watched files with verbose flag set. If interrupt is off, will run the tasks once more if watch triggered during a previous task run. tasks property is optional for use with watch event. Watchers properly closed when exiting.

*This file was generated on Thu May 09 2013 08:56:33.*
*This file was generated on Thu May 09 2013 14:54:44.*

@@ -69,4 +69,4 @@ /*

watcher.close();
watchers.splice(i, 1);
});
watchers = [];

@@ -73,0 +73,0 @@ // Never gonna give you up, never gonna let you down

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