Skip to content

Commit

Permalink
fix turborepo with rollup --watch (#5027)
Browse files Browse the repository at this point in the history
* fix turbo

* Fix linter

---------

Co-authored-by: Lukas Taegert-Atkinson <lukas.taegert-atkinson@tngtech.com>
Co-authored-by: Lukas Taegert-Atkinson <lukastaegert@users.noreply.github.com>
  • Loading branch information
3 people committed Jun 9, 2023
1 parent e3c3ee4 commit abd289d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/run/watch-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ export async function watch(command: Record<string, any>): Promise<void> {

if (watcher) await watcher.close();
if (configWatcher) configWatcher.close();

process.exit(code || 0);
if (code) process.exit(code);
}

// return a promise that never resolves to keep the process running
Expand Down

0 comments on commit abd289d

Please sign in to comment.