Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-contrib-watch

Package Overview
Dependencies
Maintainers
6
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 1.0.0 to 1.0.1

15

package.json
{
"name": "grunt-contrib-watch",
"description": "Run predefined tasks whenever watched file patterns are added, changed or deleted",
"version": "1.0.0",
"version": "1.0.1",
"author": {

@@ -20,4 +20,4 @@ "name": "Grunt Team",

"async": "^1.5.0",
"gaze": "^1.0.0",
"lodash": "^3.10.1",
"gaze": "^1.1.0",
"lodash": "^4.0.0",
"tiny-lr": "^0.2.1"

@@ -27,7 +27,7 @@ },

"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-internal": "^0.4.14",
"grunt-cli": "^1.2.0",
"grunt-contrib-internal": "^1.2.0",
"grunt-contrib-jshint": "^1.0.0",
"grunt-contrib-nodeunit": "^1.0.0",
"grunt-jscs": "^2.8.0",
"grunt-jscs": "^3.0.0",
"underscore.string": "^3.2.2"

@@ -42,3 +42,4 @@ },

"tasks"
]
],
"appveyor_id": "olyu3uhcq59avm8v"
}

@@ -1,2 +0,2 @@

# grunt-contrib-watch v1.0.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-watch.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-watch)
# grunt-contrib-watch v1.0.1 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-watch.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-watch) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/olyu3uhcq59avm8v/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-watch/branch/master)

@@ -486,25 +486,26 @@ > Run predefined tasks whenever watched file patterns are added, changed or deleted

* 2016-03-12   v1.0.0   Updated tiny-lr, gaze, async, lodash dependencies Fix endless loop issue with atBegin/nospawn Expose hostname parameter of tiny-lr Support cwd.event to emit events relative to path Removed peerDependencies setting
* 2014-03-19   v0.6.1   Fix for watch targets named "default"
* 2014-03-11   v0.6.0   Clear changed files after triggering live reload to ensure they're only triggered once. cwd option now accepts separate settings for files and spawn. Fix to make interrupt work more than once. Enable live reload over HTTPS. Print newline after initial 'Waiting...' Remove deprecated grunt.util libs Add reload option to specify files other than Gruntfile files to reload. Update to gaze@0.5.1 Use fork of tiny-lr (which has quiter operation, support for HTTPS and windows path fixes) Add livereloadOnError, which if set to false will not trigger live reload if there is an error.
* 2018-04-20   v1.0.1   Update to `gaze@1.1`, `lodash@4`
* 2016-03-12   v1.0.0   Updated tiny-lr, gaze, async and lodash dependencies. Fix endless loop issue with `atBegin`/`nospawn`. Expose hostname parameter of tiny-lr. Support `cwd.event` to emit events relative to path. Removed peerDependencies setting.
* 2014-03-19   v0.6.1   Fix for watch targets named "default".
* 2014-03-11   v0.6.0   Clear changed files after triggering live reload to ensure they're only triggered once. `cwd` option now accepts separate settings for files and spawn. Fix to make interrupt work more than once. Enable live reload over HTTPS. Print newline after initial 'Waiting...'. Remove deprecated `grunt.util` libs. Add reload option to specify files other than Gruntfile files to reload. Update to gaze@0.5.1. Use a fork of tiny-lr (which has quiter operation, support for HTTPS and Windows path fixes). Add `livereloadOnError`, which if set to `false` will not trigger live reload if there is an error.
* 2013-08-25   v0.5.3   Fixed for live reload missing files.
* 2013-08-16   v0.5.2   Fixed issue running tasks after gruntfile is reloaded. Ignores empty file paths.
* 2013-07-20   v0.5.1   Fixed issue with options resetting.
* 2013-07-18   v0.5.0   Added target name to watch event. Added atBegin option to run tasks when watcher starts. Changed nospawn option to spawn (nospawn still available for backwards compatibility). Moved libs/vars into top scope to prevent re-init. Bumped Gaze version to ~0.4. Re-grab task/target options upon each task run. Add dateFormat option to override the date/time output upon completion.
* 2013-05-27   v0.4.4   Remove gracefully closing SIGINT. Not needed and causes problems for Windows. Ensure tasks are an array to not conflict with cliArgs.
* 2013-07-18   v0.5.0   Added target name to watch event. Added `atBegin` option to run tasks when watcher starts. Changed `nospawn` option to `spawn` (`nospawn` still available for backwards compatibility). Moved libs/vars into top scope to prevent re-init. Bumped Gaze version to ~0.4. Re-grab task/target options upon each task run. Add dateFormat option to override the date/time output upon completion.
* 2013-05-27   v0.4.4   Remove gracefully closing SIGINT. Not needed and causes problems for Windows. Ensure tasks are an array to not conflict with `cliArgs`.
* 2013-05-11   v0.4.3   Only group changed files per target to send correct files to live reload.
* 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.
* 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.
* 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.
* 2013-02-28   v0.3.1   Fix for top level options.
* 2013-02-27   v0.3.0   nospawn option added to run tasks without spawning as child processes. Watch emits 'watch' events upon files being triggered with grunt.event. Completion time in seconds and date/time shown after tasks ran. Negate file patterns fixed. Tasks debounced individually to handle simultaneous triggering for multiple targets. Errors handled better and viewable with --stack cli option. Code complexity reduced making the watch task code easier to read.
* 2013-02-27   v0.3.0   `nospawn` option added to run tasks without spawning as child processes. Watch emits 'watch' events upon files being triggered with `grunt.event`. Completion time in seconds and date/time shown after tasks ran. Negate file patterns fixed. Tasks debounced individually to handle simultaneous triggering for multiple targets. Errors handled better and viewable with `--stack` CLI option. Code complexity reduced making the watch task code easier to read.
* 2013-02-15   v0.2.0   First official release for Grunt 0.4.0.
* 2013-01-18   v0.2.0rc7   Updating grunt/gruntplugin dependencies to rc6. Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions.
* 2013-01-09   v0.2.0rc5   Updating to work with grunt v0.4.0rc5.
* 2012-12-15   v0.2.0a   Conversion to grunt v0.4 conventions. Remove node v0.6 and grunt v0.3 support. Allow watch task to be renamed. Use grunt.util.spawn "grunt" option. Updated to gaze@0.3.0, forceWatchMethod option removed.
* 2012-11-01   v0.1.4   Prevent watch from spawning duplicate watch tasks
* 2012-10-28   v0.1.3   Better method to spawn the grunt bin Bump gaze to v0.2.0. Better handles some events and new option forceWatchMethod Only support Node.js >= v0.8
* 2012-10-17   v0.1.2   Only spawn a process per task one at a time Add interrupt option to cancel previous spawned process Grunt v0.3 compatibility changes
* 2012-10-16   v0.1.1   Fallback to global grunt bin if local doesnt exist. Fatal if bin cannot be found Update to gaze 0.1.6
* 2012-10-08   v0.1.0   Release watch task Remove spawn from helper Run on Grunt v0.4
* 2012-12-15   v0.2.0a   Conversion to grunt v0.4 conventions. Remove Node.js v0.6 and grunt v0.3 support. Allow watch task to be renamed. Use `grunt.util.spawn` "grunt" option. Updated to gaze@0.3.0, `forceWatchMethod` option removed.
* 2012-11-01   v0.1.4   Prevent watch from spawning duplicate watch tasks.
* 2012-10-28   v0.1.3   Better method to spawn the grunt bin. Bump gaze to v0.2.0. Better handles some events and new option `forceWatchMethod`. Only support Node.js >= v0.8.
* 2012-10-17   v0.1.2   Only spawn a process per task one at a time. Add `interrupt` option to cancel previous spawned process. Grunt v0.3 compatibility changes.
* 2012-10-16   v0.1.1   Fallback to global grunt bin if local doesn't exist. Fatal if bin cannot be found. Update to gaze 0.1.6.
* 2012-10-08   v0.1.0   Release watch task. Remove spawn from helper. Run on Grunt v0.4.

@@ -515,2 +516,2 @@ ---

*This file was generated on Sat Mar 12 2016 14:08:17.*
*This file was generated on Fri Apr 20 2018 15:26:14.*

@@ -5,3 +5,3 @@ /*

*
* Copyright (c) 2016 "Cowboy" Ben Alman, contributors
* Copyright (c) 2018 "Cowboy" Ben Alman, contributors
* Licensed under the MIT license.

@@ -8,0 +8,0 @@ */

@@ -5,3 +5,3 @@ /*

*
* Copyright (c) 2016 "Cowboy" Ben Alman, contributors
* Copyright (c) 2018 "Cowboy" Ben Alman, contributors
* Licensed under the MIT license.

@@ -8,0 +8,0 @@ */

@@ -5,3 +5,3 @@ /*

*
* Copyright (c) 2016 "Cowboy" Ben Alman, contributors
* Copyright (c) 2018 "Cowboy" Ben Alman, contributors
* Licensed under the MIT license.

@@ -8,0 +8,0 @@ */

@@ -5,3 +5,3 @@ /*

*
* Copyright (c) 2016 "Cowboy" Ben Alman, contributors
* Copyright (c) 2018 "Cowboy" Ben Alman, contributors
* Licensed under the MIT license.

@@ -139,4 +139,4 @@ */

// Skip events not specified
if (!_.contains(target.options.event, 'all') &&
!_.contains(target.options.event, status)) {
if (!_.includes(target.options.event, 'all') &&
!_.includes(target.options.event, status)) {
return;

@@ -143,0 +143,0 @@ }

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