Ionic emulate ios without livereload does not work


#1

I’m sure that i misunderstood something, my app run perfectly if i use ionic serve, (i’m using chrome for develop)

but if i run ionic emulate ios or ionic run ios the app is deployed in simulator/iphone but in the chrome console i receive this error

WebSocket connection to ‘ws://localhost:35729/livereload’ failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

why if i run emulate or run command in the app is injected the livereload script that cause problems in app?

Thank you so much!


[SOLVED] Why angular-translate not working?
#2

Bump, same error for me.


When its running without "-l", it can't find files in /img or /templates
#4

I man, the solution is that:

Reconnect your wifi connection, the livereload respond on the local ip and your phone have to be connected to the same network


#5

A similar issue: ionic serve randomly (but not rarely) stops serving. That is, the process in terminal gets just killed.

ionic CLI 1.3.10
Chrome 40.0.2214.111 (64-bit)
OS X 10.10

The error (seen in Chrome’s Developer Tools logs) seems to reside in livereload.js?snipver=1:191. It’s same as in OP:
> WebSocket connection to ‘ws://localhost:35729/livereload’ failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

(This is the only Google result on this error, hence I figured I’d continue the same thread. Apologies if that’s frowned upon.)


#6

I also having same problem please anybody help