wuchale 0.22.2 → 0.22.3
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/hub.js +3 -1
- package/package.json +2 -2
package/dist/hub.js
CHANGED
|
@@ -139,7 +139,9 @@ export class Hub {
|
|
|
139
139
|
const updateTxt = await read();
|
|
140
140
|
const update = JSON.parse(updateTxt);
|
|
141
141
|
this.#log.info(`${logPrefix} config update received: ${color.cyan(updateTxt)}`);
|
|
142
|
-
|
|
142
|
+
if (update.hmr !== undefined) {
|
|
143
|
+
this.#config.hmr = update.hmr;
|
|
144
|
+
}
|
|
143
145
|
return ignoreChange;
|
|
144
146
|
}
|
|
145
147
|
if (!this.#config.hmr) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wuchale",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.3",
|
|
4
4
|
"description": "Protobuf-like i18n from plain code",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "tsc --watch",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"chokidar": "^5.0.0",
|
|
90
90
|
"magic-string": "^0.30.21",
|
|
91
91
|
"path-to-regexp": "^8.3.0",
|
|
92
|
-
"picomatch": "^4.0.
|
|
92
|
+
"picomatch": "^4.0.4",
|
|
93
93
|
"pofile": "^1.1.4",
|
|
94
94
|
"tinyglobby": "^0.2.15"
|
|
95
95
|
},
|