-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: svelte package process is not exited
- Loading branch information
1 parent
55b666a
commit 4f5ab67
Showing
3 changed files
with
41 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/cli.js b/src/cli.js | ||
index 4833dc489359f2fba202668672f3cd8e09c427d5..69f645027c7db66eb3a539ee724c6c3fd3eceb6e 100644 | ||
--- a/src/cli.js | ||
+++ b/src/cli.js | ||
@@ -52,6 +52,8 @@ prog | ||
}; | ||
|
||
await (args.watch ? packaging.watch(options) : packaging.build(options)); | ||
+ | ||
+ process.exit(0) | ||
} catch (error) { | ||
handle_error(/** @type {Error} */ (error)); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.