@parcel/core
Advanced tools
Comparing version 2.0.0-canary.1636 to 2.0.0-canary.1637
@@ -429,3 +429,10 @@ "use strict"; | ||
let sub = await resolvedOptions.inputFS.watch(resolvedOptions.watchDir, async (err, events) => { | ||
var _events$, _events$2; | ||
if (err) { | ||
_logger().default.verbose({ | ||
message: `File watch event error occured`, | ||
meta: { | ||
err | ||
} | ||
}); | ||
this.#watchEvents.emit({ | ||
@@ -436,2 +443,5 @@ error: err | ||
} | ||
_logger().default.verbose({ | ||
message: `File watch event emitted with ${events.length} events. Sample event: [${(_events$ = events[0]) === null || _events$ === void 0 ? void 0 : _events$.type}] ${(_events$2 = events[0]) === null || _events$2 === void 0 ? void 0 : _events$2.path}` | ||
}); | ||
let isInvalid = await this.#requestTracker.respondToFSEvents(events, Number.POSITIVE_INFINITY); | ||
@@ -438,0 +448,0 @@ if (isInvalid && this.#watchQueue.getNumWaiting() === 0) { |
{ | ||
"name": "@parcel/core", | ||
"version": "2.0.0-canary.1636+35e936ac2", | ||
"version": "2.0.0-canary.1637+78bf4a9c6", | ||
"license": "MIT", | ||
@@ -28,17 +28,17 @@ "publishConfig": { | ||
"@mischnic/json-sourcemap": "^0.1.0", | ||
"@parcel/cache": "2.0.0-canary.1638+35e936ac2", | ||
"@parcel/diagnostic": "2.0.0-canary.1638+35e936ac2", | ||
"@parcel/events": "2.0.0-canary.1638+35e936ac2", | ||
"@parcel/feature-flags": "2.12.1-canary.3261+35e936ac2", | ||
"@parcel/fs": "2.0.0-canary.1638+35e936ac2", | ||
"@parcel/graph": "3.2.1-canary.3261+35e936ac2", | ||
"@parcel/logger": "2.0.0-canary.1638+35e936ac2", | ||
"@parcel/package-manager": "2.0.0-canary.1638+35e936ac2", | ||
"@parcel/plugin": "2.0.0-canary.1638+35e936ac2", | ||
"@parcel/profiler": "2.12.1-canary.3261+35e936ac2", | ||
"@parcel/rust": "2.12.1-canary.3261+35e936ac2", | ||
"@parcel/cache": "2.0.0-canary.1639+78bf4a9c6", | ||
"@parcel/diagnostic": "2.0.0-canary.1639+78bf4a9c6", | ||
"@parcel/events": "2.0.0-canary.1639+78bf4a9c6", | ||
"@parcel/feature-flags": "2.12.1-canary.3262+78bf4a9c6", | ||
"@parcel/fs": "2.0.0-canary.1639+78bf4a9c6", | ||
"@parcel/graph": "3.2.1-canary.3262+78bf4a9c6", | ||
"@parcel/logger": "2.0.0-canary.1639+78bf4a9c6", | ||
"@parcel/package-manager": "2.0.0-canary.1639+78bf4a9c6", | ||
"@parcel/plugin": "2.0.0-canary.1639+78bf4a9c6", | ||
"@parcel/profiler": "2.12.1-canary.3262+78bf4a9c6", | ||
"@parcel/rust": "2.12.1-canary.3262+78bf4a9c6", | ||
"@parcel/source-map": "^2.1.1", | ||
"@parcel/types": "2.0.0-canary.1638+35e936ac2", | ||
"@parcel/utils": "2.0.0-canary.1638+35e936ac2", | ||
"@parcel/workers": "2.0.0-canary.1638+35e936ac2", | ||
"@parcel/types": "2.0.0-canary.1639+78bf4a9c6", | ||
"@parcel/utils": "2.0.0-canary.1639+78bf4a9c6", | ||
"@parcel/workers": "2.0.0-canary.1639+78bf4a9c6", | ||
"base-x": "^3.0.8", | ||
@@ -61,3 +61,3 @@ "browserslist": "^4.6.6", | ||
}, | ||
"gitHead": "35e936ac2387833ef0af31647c2b670466345a64" | ||
"gitHead": "78bf4a9c68d19aa5ca021f08f59a5d65a9b2c0ff" | ||
} |
@@ -442,2 +442,6 @@ // @flow strict-local | ||
if (err) { | ||
logger.verbose({ | ||
message: `File watch event error occured`, | ||
meta: {err}, | ||
}); | ||
this.#watchEvents.emit({error: err}); | ||
@@ -447,2 +451,6 @@ return; | ||
logger.verbose({ | ||
message: `File watch event emitted with ${events.length} events. Sample event: [${events[0]?.type}] ${events[0]?.path}`, | ||
}); | ||
let isInvalid = await this.#requestTracker.respondToFSEvents( | ||
@@ -449,0 +457,0 @@ events, |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
1392714
39978