-
-
Notifications
You must be signed in to change notification settings - Fork 198
Fixed: the app doesn't exit when using --release and --justlaunch #2423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
lib/services/platform-service.ts
Outdated
|
|
||
| public runPlatform(platform: string): IFuture<void> { | ||
| return (() => { | ||
| if (this.$options.release) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be this.$options.justlaunch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's correct! Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request updated
523685a to
1ba387f
Compare
rosen-vladimirov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But I believe we should check where's the if that checks only watch option and does not check justlaunch. We definitely have such if somewhere that starts something and keeps our process alive.
|
Yep, there are several ifs :) |
* Fixed: tns update crashes with error message (#2421) * Fixed: the app doesn't exit when using --release and --justlaunch (#2423) * Fixed: debug exits unexpected when using --chrome and --watch options (#2426) * Fixed: test command fails with exception (#2428) * Fixed: getfile/putfile operate with global files (not local ones) (#2434) * Remove --get-port flag (#2440) * Deprecate support for Node.js 4 (#2444) Deprecate support for Node.js `4.x.x` by adding message that users will see each time when they execute any command and their Node.js version is `4.x.x`. * Updated CLI documentation after behavior changes in run command (#2435) * Updated CLI documentation after behavior changes in run command * Remove usages of in help content. * Update message for livesync deprecation as it should not contain concrete release version * Add source-map dependency and it's types. Fix typescript error Add source-map dependency and typings for it. Previously CLI used it from `lib/common/vendor` dir, but it has npm package for a long time and it's better to use it instead.
The following command doesn't exit:
tns run ios --release --justlaunchbecause of the watch option that is enabled by default.