@youcan/app 1.2.0-beta.1 → 1.2.0-beta.2
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.
|
@@ -22,11 +22,10 @@ class AppWorker extends AbstractWorker {
|
|
|
22
22
|
stabilityThreshold: 50,
|
|
23
23
|
},
|
|
24
24
|
});
|
|
25
|
-
watcher.
|
|
26
|
-
watcher.close();
|
|
25
|
+
watcher.once('change', async () => {
|
|
26
|
+
await watcher.close();
|
|
27
27
|
this.command.controller.abort();
|
|
28
28
|
this.logger.write('config update detected, reloading workers...');
|
|
29
|
-
this.command.output.wait(2000);
|
|
30
29
|
this.command.config.runCommand(this.command.id, this.command.argv);
|
|
31
30
|
});
|
|
32
31
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@youcan/app",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.0-beta.
|
|
4
|
+
"version": "1.2.0-beta.2",
|
|
5
5
|
"description": "OCLIF plugin for building apps",
|
|
6
6
|
"author": "YouCan <contact@youcan.shop> (https://youcan.shop)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@oclif/core": "^2.15.0",
|
|
19
19
|
"dayjs": "^1.11.10",
|
|
20
|
-
"@youcan/cli-kit": "1.2.0-beta.
|
|
20
|
+
"@youcan/cli-kit": "1.2.0-beta.2"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@oclif/plugin-legacy": "^1.3.0",
|