zet-lib 1.5.27 → 1.5.29
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/lib/zGeneratorRouter.js +1 -1
- package/lib/zPage.js +2 -2
- package/package.json +1 -1
package/lib/zGeneratorRouter.js
CHANGED
|
@@ -673,7 +673,7 @@ const generate = async (req, res) => {
|
|
|
673
673
|
if (err) {
|
|
674
674
|
console.log(err.toString());
|
|
675
675
|
}
|
|
676
|
-
pm2.
|
|
676
|
+
pm2.reload(process.env.PM2_NAME, (err, proc) => {
|
|
677
677
|
//io.to(room).emit("message","Restart done")
|
|
678
678
|
});
|
|
679
679
|
});
|
package/lib/zPage.js
CHANGED
|
@@ -42,7 +42,7 @@ zpage.build = async (req, res) => {
|
|
|
42
42
|
if (err) {
|
|
43
43
|
console.log(err.toString());
|
|
44
44
|
}
|
|
45
|
-
pm2.
|
|
45
|
+
pm2.reload(process.env.PM2_NAME, (err, proc) => {
|
|
46
46
|
//io.to(room).emit("message","Restart done")
|
|
47
47
|
});
|
|
48
48
|
});
|
|
@@ -170,7 +170,7 @@ zpage.buildLayout = async (obj) => {
|
|
|
170
170
|
if (err) {
|
|
171
171
|
console.log(err.toString());
|
|
172
172
|
}
|
|
173
|
-
pm2.
|
|
173
|
+
pm2.reload(process.env.PM2_NAME, (err, proc) => {
|
|
174
174
|
//io.to(room).emit("message","Restart done")
|
|
175
175
|
});
|
|
176
176
|
});
|