rrce-workflow 0.2.31 → 0.2.33
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/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1905,7 +1905,7 @@ var init_App = __esm({
|
|
|
1905
1905
|
if (input === "r") {
|
|
1906
1906
|
setLogs((prev) => [...prev, "[INFO] Config reload requested..."]);
|
|
1907
1907
|
}
|
|
1908
|
-
});
|
|
1908
|
+
}, { isActive: true });
|
|
1909
1909
|
const termHeight = process.stdout.rows || 24;
|
|
1910
1910
|
const logHeight = Math.max(5, termHeight - 12);
|
|
1911
1911
|
return /* @__PURE__ */ jsx6(
|
|
@@ -2134,6 +2134,7 @@ async function handleStartServer() {
|
|
|
2134
2134
|
let keepRunning = true;
|
|
2135
2135
|
while (keepRunning) {
|
|
2136
2136
|
let nextAction = "exit";
|
|
2137
|
+
process.stdin.resume();
|
|
2137
2138
|
const app = render(React7.createElement(App2, {
|
|
2138
2139
|
initialPort,
|
|
2139
2140
|
onExit: () => {
|
|
@@ -2145,7 +2146,10 @@ async function handleStartServer() {
|
|
|
2145
2146
|
onInstall: () => {
|
|
2146
2147
|
nextAction = "install";
|
|
2147
2148
|
}
|
|
2148
|
-
})
|
|
2149
|
+
}), {
|
|
2150
|
+
exitOnCtrlC: false
|
|
2151
|
+
// We handle this in App
|
|
2152
|
+
});
|
|
2149
2153
|
await app.waitUntilExit();
|
|
2150
2154
|
if (nextAction === "exit") {
|
|
2151
2155
|
keepRunning = false;
|