mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-06 04:48:04 +00:00
Merge pull request #427 from PuneetP16/fix-app-reload
[fix]: shell commands execution failure on app reload
This commit is contained in:
commit
fe45651f79
@ -95,11 +95,12 @@ export class ActionRunner {
|
||||
|
||||
this.#currentExecutionPromise = this.#currentExecutionPromise
|
||||
.then(() => {
|
||||
this.#executeAction(actionId, isStreaming);
|
||||
return this.#executeAction(actionId, isStreaming);
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error('Action failed:', error);
|
||||
});
|
||||
return this.#currentExecutionPromise;
|
||||
}
|
||||
|
||||
async #executeAction(actionId: string, isStreaming: boolean = false) {
|
||||
|
Loading…
Reference in New Issue
Block a user