@platformatic/utils
Advanced tools
Comparing version 1.4.1 to 1.5.0
@@ -11,8 +11,2 @@ 'use strict' | ||
// Recursive watch is unreliable on platforms besides macOS and Windows. | ||
// See: https://github.com/nodejs/node/issues/48437 | ||
/* c8 ignore next 2 */ | ||
const useRecursiveWatch = process.platform === 'darwin' || | ||
process.platform === 'win32' | ||
function removeDotSlash (path) { | ||
@@ -45,3 +39,8 @@ return path.replace(/^\.[/\\]/, '') | ||
const fsWatcher = watch(this.path, { signal, recursive: useRecursiveWatch }) | ||
// Recursive watch is unreliable on platforms besides macOS and Windows. | ||
// See: https://github.com/nodejs/node/issues/48437 | ||
const fsWatcher = watch(this.path, { | ||
signal, | ||
recursive: true | ||
}) | ||
@@ -48,0 +47,0 @@ let updateTimeout = null |
{ | ||
"name": "@platformatic/utils", | ||
"version": "1.4.1", | ||
"version": "1.5.0", | ||
"description": "Platformatic DB Utils", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
21252