We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b6920 commit d0040acCopy full SHA for d0040ac
src/commands/run.ts
@@ -30,8 +30,13 @@ export default class RunProject {
30
public exitHandler(): void {
31
if (this.config && this.config.run_settings.start_tunnel) {
32
if (this.tunnel) {
33
- this.tunnel.stop().catch(console.error);
+ this.tunnel.stop().then(() => {
34
+ process.exit();
35
+ }).catch(console.error);
36
+ this.tunnel = undefined;
37
}
38
+ } else {
39
+ process.exit()
40
41
42
src/utils/poller.ts
@@ -8,10 +8,10 @@ interface ITest {
8
9
10
enum IStatus {
11
- 'WAITING',
12
- 'READY',
13
- 'FAILED',
14
- 'DONE'
+ WAITING = 'WAITING',
+ READY = 'READY',
+ FAILED = 'FAILED',
+ DONE = 'DONE'
15
16
17
interface IRun {
0 commit comments