Ionic Server doesn’t shutdown gracefully using Cordova
See original GitHub issueDescription: I have to build an ionic cordova app. So I prepared my macOS with all needed utilities. First I have to create the app on the browser platform. Therefore I start the process with “ionic cordova run browser”. After testing I just want to shutdown the server with crtl+c, but even a node process will be left. So every time I would have to kill the process using the command line tool “kill”. It isn’t really comfortable.
I found out if I run only the command “cordova run browser” without an ionic build the server is shutting down correctly. The same thing, if I run “ionic serve” without using cordova
My ionic info
:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 3.1.8
Cordova Platforms : browser 5.0.3
Ionic Framework : ionic-angular 3.9.2
System:
ios-deploy : 1.9.1
Node : v8.10.0
npm : 5.6.0
OS : macOS High Sierra
Xcode : Xcode 9.2 Build version 9C40b
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : legacy
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Ionic Server doesn't shutdown gracefully using Cordova
I have to build an ionic cordova app. So I prepared my macOS with all needed utilities. First I have to create the...
Read more >Ionic app doesn't hit on server when using cordova
My Ionic app works fine when running with ionic serve but when i use the command ionic cordova run android --livereload it doesn't...
Read more >Alpha Anywhere | Getting Started with Mobile Apps
Cordova CLI offers the most flexibility for building cross-platform mobile iOS and Android applications. While Ionic Appflow is built on Apache Cordova, the ......
Read more >Android Anti-Reversing Defenses - OWASP MASTG
Create a large (16 bytes or longer) random number on your server using a ... A successful attestation doesn't necessarily mean that the...
Read more >Window.location.href(url). how to catch the success event for ...
Featured post · Not able to get output · Apache Cordova missing cordova. · Updating JSON files in an ionic app · Not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @dwieeb, that is exactly what I’m looking for. I have no intention of deploying a browser target (yet) so I was only using the browser platform to get around the Cordova plugin issue. I would much prefer to use
ionic serve
as you describe.I look forward to trying it out when available.
Closing in favor of https://github.com/ionic-team/ionic-cli/issues/3043, please subscribe to it for updates.