Skip to content
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

Unable to run multiple instances of livereload simultaneously #10114

Closed
sarahsga opened this issue Jan 20, 2017 · 2 comments
Closed

Unable to run multiple instances of livereload simultaneously #10114

sarahsga opened this issue Jan 20, 2017 · 2 comments

Comments

@sarahsga
Copy link

sarahsga commented Jan 20, 2017

Ionic version:
[ ] 1.x
[ x] 2.x

I'm submitting a ...
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:
unable to simultaneously run livereload on ios, android and browser.

Expected behavior:
expected to simultaneously be able to run livereload on ios, android and browser, to be able to test on multiple platforms simultaneously. This worked flawlessly with ionic 1.x

Steps to reproduce:
Step 1: ionic run ios -l -c --device
This will run livereload on ios device connected to the machine.

Step 2: ionic run android -l -c
This will give an error

Error: listen EADDRINUSE 0.0.0.0:53703
    at Object.exports._errnoException (util.js:1026:11)
    at exports._exceptionWithHostPort (util.js:1049:20)
    at Server._listen2 (net.js:1253:14)
    at listen (net.js:1289:10)
    at net.js:1399:9
    at _combinedTickCallback (internal/process/next_tick.js:77:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)
    at Module.runMain (module.js:592:11)
    at run (bootstrap_node.js:394:7)
    at startup (bootstrap_node.js:149:9)

This happens because the address "192.168.8.102" is already in use by livereload running on ios. I have tried changing port (--port), livereload-port (--livereload-port), nothing's working.

Other information:
I was able to run multiple instances of livereload on one address "192.168.8.102" simultaneously while developing ionic 1.x applications
This issue #9425 addresses this problem, but it does not address how to run multiple livereload instances simultaneously.

Ionic info:

Cordova CLI: 6.3.1 
Ionic Framework Version: 2.0.0-rc.5
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: 1.9.0 
ios-sim version: 5.0.8 
OS: OS X El Capitan
Node Version: v6.4.0
Xcode version: Xcode 8.2 Build version 8C38
@brandyscarney
Copy link
Member

This issue was moved to ionic-team/ionic-cli#1866

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 4, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants