@makano/rew 1.5.8 → 1.5.9
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.
@@ -3,7 +3,7 @@ if(typeof window !== "undefined"){
|
|
3
3
|
straceLog = () => {}
|
4
4
|
execOptions = {};
|
5
5
|
path = { resolve: (...a) => a.join('/') };
|
6
|
-
wait = (a) => a;
|
6
|
+
wait = (a, ...args) => a(...args);
|
7
7
|
CONFIG_PATH = '/';
|
8
8
|
} else {
|
9
9
|
straceLog = require("../misc/strace").straceLog;
|
@@ -737,7 +737,10 @@ const compileCivetStuff = (file, options) => {
|
|
737
737
|
js: true
|
738
738
|
};
|
739
739
|
|
740
|
-
let compiled = options.async ? compileCivet(prepared, compileOptions) :
|
740
|
+
let compiled = options.async ? compileCivet(prepared, compileOptions) : compileCivet(prepared, {
|
741
|
+
...compileOptions,
|
742
|
+
sync: true
|
743
|
+
});
|
741
744
|
straceLog('==> !COMPILER civetCompile(fileContent)');
|
742
745
|
|
743
746
|
return {
|