rollup-watch
Advanced tools
Comparing version 2.1.1 to 2.2.0
# rollup-watch changelog | ||
## 2.2.0 | ||
* Emit errors and recover ([#2](https://github.com/rollup/rollup-watch/issues/2)) | ||
## 2.1.1 | ||
@@ -4,0 +8,0 @@ |
@@ -28,3 +28,3 @@ 'use strict'; | ||
var name = "rollup-watch"; | ||
var version = "2.1.1"; | ||
var version = "2.2.0"; | ||
@@ -127,3 +127,9 @@ function checkVersion ( name, localVersion ) { | ||
}); | ||
}, function (error) { | ||
emitter.emit( 'event', { | ||
code: 'ERROR', | ||
error: error | ||
}); | ||
}) | ||
.then( function () { | ||
building = false; | ||
@@ -130,0 +136,0 @@ if ( rebuildScheduled ) build(); |
@@ -24,3 +24,3 @@ import EventEmitter from 'events'; | ||
var name = "rollup-watch"; | ||
var version = "2.1.1"; | ||
var version = "2.2.0"; | ||
@@ -123,3 +123,9 @@ function checkVersion ( name, localVersion ) { | ||
}); | ||
}, function (error) { | ||
emitter.emit( 'event', { | ||
code: 'ERROR', | ||
error: error | ||
}); | ||
}) | ||
.then( function () { | ||
building = false; | ||
@@ -126,0 +132,0 @@ if ( rebuildScheduled ) build(); |
{ | ||
"name": "rollup-watch", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"description": "Watch files for changes and perform incremental rebuilds with Rollup", | ||
@@ -5,0 +5,0 @@ "main": "dist/rollup-watch.cjs.js", |
@@ -89,3 +89,9 @@ import EventEmitter from 'events'; | ||
}); | ||
}, error => { | ||
emitter.emit( 'event', { | ||
code: 'ERROR', | ||
error | ||
}); | ||
}) | ||
.then( () => { | ||
building = false; | ||
@@ -92,0 +98,0 @@ if ( rebuildScheduled ) build(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
12051
343
3