@webqit/webflo 0.8.65-0 → 0.8.67-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.
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"vanila-javascript"
|
|
13
13
|
],
|
|
14
14
|
"homepage": "https://webqit.io/tooling/webflo",
|
|
15
|
-
"version": "0.8.
|
|
15
|
+
"version": "0.8.67-0",
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"mime-types": "^2.1.33",
|
|
52
52
|
"minimatch": "^3.0.4",
|
|
53
53
|
"node-fetch": "^2.6.1",
|
|
54
|
-
"pm2": "^5.
|
|
54
|
+
"pm2": "^5.2.0",
|
|
55
55
|
"simple-git": "^2.20.1",
|
|
56
56
|
"stream-slice": "^0.1.2",
|
|
57
57
|
"touch": "^3.1.0",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import Url from 'url';
|
|
6
6
|
import Path from 'path';
|
|
7
|
-
import Pm2 from 'pm2';
|
|
7
|
+
//import Pm2 from 'pm2';
|
|
8
8
|
import _promise from '@webqit/util/js/promise.js';
|
|
9
9
|
import * as DotJson from '@webqit/backpack/src/dotfiles/DotJson.js';
|
|
10
10
|
import * as server from '../../config/server.js'
|
|
@@ -83,7 +83,7 @@ export async function start(Ui, flags = {}, layout = {}) {
|
|
|
83
83
|
|
|
84
84
|
if (flags.env === 'prod') {
|
|
85
85
|
return new Promise(resolve => {
|
|
86
|
-
Pm2.connect(err => {
|
|
86
|
+
Pm2.connect(true/* no_daemon_mode */, err => {
|
|
87
87
|
if (err) {
|
|
88
88
|
Ui.error(err);
|
|
89
89
|
resolve();
|
|
@@ -106,7 +106,7 @@ export async function start(Ui, flags = {}, layout = {}) {
|
|
|
106
106
|
Ui.log('');
|
|
107
107
|
showRunning(name, autorestart);
|
|
108
108
|
}
|
|
109
|
-
Pm2.disconnect(resolve);
|
|
109
|
+
//Pm2.disconnect(resolve);
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
112
|
});
|