@akanjs/cli 0.9.23 → 0.9.25
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/cjs/index.js +2 -2
- package/esm/index.js +2 -2
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -3775,8 +3775,8 @@ var Start = ({ appName, bcp, fcp, csr, onExit, maxLength = 100 }) => {
|
|
|
3775
3775
|
exit();
|
|
3776
3776
|
process.exit(0);
|
|
3777
3777
|
};
|
|
3778
|
-
process.on("SIGINT", () => {
|
|
3779
|
-
|
|
3778
|
+
process.on("SIGINT", async () => {
|
|
3779
|
+
await destroy();
|
|
3780
3780
|
});
|
|
3781
3781
|
return () => {
|
|
3782
3782
|
void destroy();
|
package/esm/index.js
CHANGED
|
@@ -3757,8 +3757,8 @@ var Start = ({ appName, bcp, fcp, csr, onExit, maxLength = 100 }) => {
|
|
|
3757
3757
|
exit();
|
|
3758
3758
|
process.exit(0);
|
|
3759
3759
|
};
|
|
3760
|
-
process.on("SIGINT", () => {
|
|
3761
|
-
|
|
3760
|
+
process.on("SIGINT", async () => {
|
|
3761
|
+
await destroy();
|
|
3762
3762
|
});
|
|
3763
3763
|
return () => {
|
|
3764
3764
|
void destroy();
|