@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) : wait(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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makano/rew",
3
- "version": "1.5.8",
3
+ "version": "1.5.9",
4
4
  "description": "A simple coffescript runtime and app manager",
5
5
  "main": "main.js",
6
6
  "directories": {