@514labs/moose-lib 0.6.267-ci-7-g09e4deda → 0.6.267-ci-8-gef986654
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/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/index.js +3 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -17
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js +5 -19
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs +5 -19
- package/dist/moose-runner.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -750,23 +750,9 @@ var loadIndex = async () => {
|
|
|
750
750
|
console.log(
|
|
751
751
|
`${workerInfo} loadIndex: registry cleared in ${Date.now() - clearStart}ms`
|
|
752
752
|
);
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
const appDir = `${process2.cwd()}/${getSourceDir()}`;
|
|
757
|
-
Object.keys(__require.cache).forEach((key) => {
|
|
758
|
-
if (key.startsWith(appDir)) {
|
|
759
|
-
delete __require.cache[key];
|
|
760
|
-
}
|
|
761
|
-
});
|
|
762
|
-
console.log(
|
|
763
|
-
`${workerInfo} loadIndex: require cache cleared in ${Date.now() - cacheStart}ms`
|
|
764
|
-
);
|
|
765
|
-
} else {
|
|
766
|
-
console.log(
|
|
767
|
-
`${workerInfo} loadIndex: skipping cache clear in production mode`
|
|
768
|
-
);
|
|
769
|
-
}
|
|
753
|
+
console.log(
|
|
754
|
+
`${workerInfo} loadIndex: skipping require cache clear (preserving compiled modules)`
|
|
755
|
+
);
|
|
770
756
|
console.log(`${workerInfo} loadIndex: requiring index.ts...`);
|
|
771
757
|
const requireStart = Date.now();
|
|
772
758
|
__require(`${process2.cwd()}/${getSourceDir()}/index.ts`);
|