pinokiod 3.4.8 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server/index.js +9 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.4.8",
3
+ "version": "3.4.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -2056,14 +2056,6 @@ class Server {
2056
2056
  this.debug = options.debug
2057
2057
  this.browser = options.browser
2058
2058
  }
2059
- try {
2060
- let _home = this.kernel.store.get("home")
2061
- if (_home) {
2062
- await this.startLogging(_home)
2063
- }
2064
- } catch (e) {
2065
- console.log("start logging attempt", e)
2066
- }
2067
2059
 
2068
2060
  if (this.listening) {
2069
2061
  // stop proxies
@@ -2094,6 +2086,15 @@ class Server {
2094
2086
  // configure from kernel.store
2095
2087
  await this.syncConfig()
2096
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
+
2097
2098
  // determine port if port is not passed in
2098
2099
 
2099
2100
  if (options && options.port) {