Ionic live reload feature not reloading application -


i tried use live reload feature ionic serve , ionic emulate ios --livereload. server starts well, application displayed on simulator (or in browser) , works smoothly.

when change file (a js or html in www directory) , save it, console write html changed: www/index.html example, application doesn't reload should be.

i supposed websocket between server , app broken, when kill server (ctrl-c), web inspector immediatly fire following error : [error] websocket network error: operation couldn’t completed. connection refused (192.168.5.2, line 0, x4)

so supposed there no issue websocket. moreover, displayed no error in network pane of web inspector.

is there missed made livereload work ?

my configuration :

  • cordova cli: 5.0.0
  • ionic version: 1.0.0
  • ionic cli version: 1.4.5
  • ionic app lib version: 0.0.22
  • ios-deploy version: 1.7.0
  • ios-sim version: 3.1.1
  • os: mac os x yosemite
  • node version: v0.10.30
  • xcode version: xcode 6.3.2 build version 6d2105

don't hesitate ask me clarification if not clear.

edit

i tested without internet connection @ check if firewall issue or that, changes nothing.

try running ionic address , selecting correct interface.

if doesn't work , it's ios 9, may issue apple ats:

https://github.com/driftyco/ionic-cli/issues/605

it cors issue. in case, try installing cordova-white-list plugin.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -