@jsenv/core 32.0.0 → 32.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/v8_coverage.js +2 -2
- package/dist/main.js +3 -2
- package/package.json +1 -1
- package/src/watch_source_files.js +3 -1
package/dist/js/v8_coverage.js
CHANGED
|
@@ -331,8 +331,8 @@ const skipUntilMatch = ({
|
|
|
331
331
|
let canSkip;
|
|
332
332
|
if (nextIndex >= remainingString.length) {
|
|
333
333
|
canSkip = false;
|
|
334
|
-
} else if (remainingString[0] === "/"
|
|
335
|
-
canSkip =
|
|
334
|
+
} else if (remainingString[0] === "/") {
|
|
335
|
+
canSkip = canSkipSlash;
|
|
336
336
|
} else {
|
|
337
337
|
canSkip = true;
|
|
338
338
|
}
|
package/dist/main.js
CHANGED
|
@@ -7118,8 +7118,9 @@ const watchSourceFiles = (sourceDirectoryUrl, callback, {
|
|
|
7118
7118
|
const watchPatterns = {
|
|
7119
7119
|
"**/*": true,
|
|
7120
7120
|
// by default watch everything inside the source directory
|
|
7121
|
-
|
|
7122
|
-
// file
|
|
7121
|
+
// line below is commented until @jsenv/url-meta fixes the fact that is matches
|
|
7122
|
+
// any file with an extension
|
|
7123
|
+
// "**/.*": false, // file starting with a dot -> do not watch
|
|
7123
7124
|
"**/.*/": false,
|
|
7124
7125
|
// directory starting with a dot -> do not watch
|
|
7125
7126
|
"**/node_modules/": false,
|
package/package.json
CHANGED
|
@@ -13,7 +13,9 @@ export const watchSourceFiles = (
|
|
|
13
13
|
// And jsenv should not consider these as source files and watch them (to not hurt performances)
|
|
14
14
|
const watchPatterns = {
|
|
15
15
|
"**/*": true, // by default watch everything inside the source directory
|
|
16
|
-
|
|
16
|
+
// line below is commented until @jsenv/url-meta fixes the fact that is matches
|
|
17
|
+
// any file with an extension
|
|
18
|
+
// "**/.*": false, // file starting with a dot -> do not watch
|
|
17
19
|
"**/.*/": false, // directory starting with a dot -> do not watch
|
|
18
20
|
"**/node_modules/": false, // node_modules directory -> do not watch
|
|
19
21
|
...sourceFileConfig,
|