xhs-mp-compiler-cli 1.1.5 → 1.1.6-beta.0

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.
@@ -44,7 +44,7 @@ const handlers = {
44
44
  scene: data.scene
45
45
  }, (err, stats) => {
46
46
  var _a;
47
- console.log('file change...');
47
+ console.log('file change...', err, stats);
48
48
  // 修改文件时构建
49
49
  const hasError = err || ((_a = stats === null || stats === void 0 ? void 0 : stats.hasErrors) === null || _a === void 0 ? void 0 : _a.call(stats));
50
50
  if (hasError) {
@@ -55,7 +55,7 @@ const handlers = {
55
55
  }
56
56
  sendToMaster('compileFinishWhenFileChange');
57
57
  }));
58
- console.log('it is watching...');
58
+ console.log('it is watching...', err, stats);
59
59
  const hasError = err || stats.hasErrors();
60
60
  if (hasError) {
61
61
  sendToMaster('callback', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xhs-mp-compiler-cli",
3
- "version": "1.1.5",
3
+ "version": "1.1.6-beta.0",
4
4
  "description": "xhs mp command tool.",
5
5
  "preferGlobal": true,
6
6
  "category": "esm",
@@ -84,8 +84,8 @@
84
84
  "webpack-sources": "^3.2.2",
85
85
  "xhs-mp-compiler-ml-loader": "1.1.4",
86
86
  "xhs-mp-compiler-utils": "1.1.2",
87
- "xhs-mp-pack": "^1.1.3",
88
- "xhs-mp-project": "^1.1.3",
87
+ "xhs-mp-pack": "^1.1.4-beta.0",
88
+ "xhs-mp-project": "^1.2.0-beta.0",
89
89
  "xhs-mp-utils": "^1.1.2"
90
90
  },
91
91
  "devDependencies": {