pinokiod 3.4.7 → 3.4.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.
- package/kernel/bin/vs.js +1 -1
- package/package.json +1 -1
- package/server/index.js +9 -2
package/kernel/bin/vs.js
CHANGED
|
@@ -161,7 +161,7 @@ class VS {
|
|
|
161
161
|
} else if (mode === "install") {
|
|
162
162
|
cmd = `${filename}`
|
|
163
163
|
}
|
|
164
|
-
const command = `start /wait ${cmd} --passive --wait --nocache --
|
|
164
|
+
const command = `start /wait ${cmd} --passive --wait --nocache --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended`
|
|
165
165
|
return command
|
|
166
166
|
}
|
|
167
167
|
}
|
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -2056,8 +2056,6 @@ class Server {
|
|
|
2056
2056
|
this.debug = options.debug
|
|
2057
2057
|
this.browser = options.browser
|
|
2058
2058
|
}
|
|
2059
|
-
let _home = this.kernel.store.get("home")
|
|
2060
|
-
await this.startLogging(_home)
|
|
2061
2059
|
|
|
2062
2060
|
if (this.listening) {
|
|
2063
2061
|
// stop proxies
|
|
@@ -2088,6 +2086,15 @@ class Server {
|
|
|
2088
2086
|
// configure from kernel.store
|
|
2089
2087
|
await this.syncConfig()
|
|
2090
2088
|
|
|
2089
|
+
try {
|
|
2090
|
+
let _home = this.kernel.store.get("home")
|
|
2091
|
+
if (_home) {
|
|
2092
|
+
await this.startLogging(_home)
|
|
2093
|
+
}
|
|
2094
|
+
} catch (e) {
|
|
2095
|
+
console.log("start logging attempt", e)
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2091
2098
|
// determine port if port is not passed in
|
|
2092
2099
|
|
|
2093
2100
|
if (options && options.port) {
|