Bugfix
This commit is contained in:
parent
69eb6c1128
commit
7d71316b2c
2
dist/tsconfig.tsbuildinfo
vendored
2
dist/tsconfig.tsbuildinfo
vendored
File diff suppressed because one or more lines are too long
3
dist/utils/start.js
vendored
3
dist/utils/start.js
vendored
@ -54,6 +54,9 @@ function startProcess({ command, preflight, postflight, redeploy_file, port, fir
|
|||||||
const runPreflight = (0, preflight_1.default)(preflight);
|
const runPreflight = (0, preflight_1.default)(preflight);
|
||||||
if (!runPreflight) {
|
if (!runPreflight) {
|
||||||
console.log(`${console_colors_1.default.FgRed}Error:${console_colors_1.default.Reset} Preflight Failed.`);
|
console.log(`${console_colors_1.default.FgRed}Error:${console_colors_1.default.Reset} Preflight Failed.`);
|
||||||
|
setTimeout(() => {
|
||||||
|
global.DEPLOYING = 0;
|
||||||
|
}, 2000);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
(0, kill_child_1.default)(childProcess, port).then((kill) => {
|
(0, kill_child_1.default)(childProcess, port).then((kill) => {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@moduletrace/buncid",
|
"name": "@moduletrace/buncid",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"description": "Simple CI/CD process For Bun runtime",
|
"description": "Simple CI/CD process For Bun runtime",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
@ -86,6 +86,9 @@ export default function startProcess({
|
|||||||
console.log(
|
console.log(
|
||||||
`${colors.FgRed}Error:${colors.Reset} Preflight Failed.`
|
`${colors.FgRed}Error:${colors.Reset} Preflight Failed.`
|
||||||
);
|
);
|
||||||
|
setTimeout(() => {
|
||||||
|
global.DEPLOYING = 0;
|
||||||
|
}, 2000);
|
||||||
} else {
|
} else {
|
||||||
killChild(childProcess, port).then((kill) => {
|
killChild(childProcess, port).then((kill) => {
|
||||||
if (kill) {
|
if (kill) {
|
||||||
|
Loading…
Reference in New Issue
Block a user