Ionic livereload not working


#1

I am having a problem with running ionic livereload on android. I am running ionic 1 application. App build is going fine and ionic serve is working fine too. Livereload was working fine before. I think it started after some update, but I don’t remember which component was updated from which version.

My ionic setup:

Cordova CLI: 8.0.0
Ionic Framework Version: 1.3.4
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0
OS: Distributor ID:	LinuxMint Description:	Linux Mint 18.2 Sonya 
Node Version: v8.11.1

The command I run:

ionic run android -lc

Error on console (Full):

1     360675   error    Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D, http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js, Line: 30511
    0     360674   error    Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:13443:12
        at Scope.$digest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30282:19)
        at Scope.$apply (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30508:24)
        at bootstrapApply (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:15088:15)
        at Object.invoke (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:18000:19)
        at doBootstrap (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:15086:14)
        at bootstrap (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:15106:12)
        at angularInit (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:14991:5)
        at HTMLDocument.<anonymous> (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:44084:5)
        at i (http://192.168.0.150:8100/js/jquery.min.js:2:27451)
    2     360715   error    Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D, http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js, Line: 30282
    3     360748   error    Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:13443:12
        at Scope.$digest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30282:19)
        at Scope.$apply (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30508:24)
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:32337:36
        at completeOutstandingRequest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:19199:10)
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:19475:7
    4     360749   error    Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D, http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js, Line: 30511
    5     360773   error    Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:13443:12
        at Scope.$digest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30282:19)
        at Scope.$apply (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30508:24)
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:32337:36
        at completeOutstandingRequest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:19199:10)
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:19475:7
    6     360774   error    Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D, http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js, Line: 30511
    7     360799   error    Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:13443:12
        at Scope.$digest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30282:19)
        at Scope.$apply (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30508:24)
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:32337:36
        at completeOutstandingRequest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:19199:10)
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:19475:7
    8     360801   error    Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D, http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js, Line: 30511
    9     360832   error    Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:13443:12
        at Scope.$digest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30282:19)
        at Scope.$apply (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30508:24)
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:32337:36
        at completeOutstandingRequest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:19199:10)
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:19475:7
    10    360833   error    Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D, http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js, Line: 30511
    11    361114   error    Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:13443:12
        at Scope.$digest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30282:19)
        at Scope.$apply (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30508:24)
        at done (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:24829:47)
        at completeRequest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:25027:7)
        at XMLHttpRequest.requestLoaded (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:24968:9)
    12    361115   error    Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D, http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js, Line: 30511
    13    361196   error    Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:13443:12
        at Scope.$digest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30282:19)
        at Scope.$apply (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30508:24)
        at done (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:24829:47)
        at completeRequest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:25027:7)
        at XMLHttpRequest.requestLoaded (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:24968:9)
    14    361198   error    Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D, http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js, Line: 30511
    15    361288   error    Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:13443:12
        at Scope.$digest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30282:19)
        at Scope.$apply (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30508:24)
        at done (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:24829:47)
        at completeRequest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:25027:7)
        at XMLHttpRequest.requestLoaded (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:24968:9)
    16    361289   error    Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D, http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js, Line: 30511
    17    361312   error    Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:13443:12
        at Scope.$digest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30282:19)
        at Scope.$apply (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30508:24)
        at done (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:24829:47)
        at completeRequest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:25027:7)
        at XMLHttpRequest.requestLoaded (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:24968:9)
    18    361313   error    Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D, http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js, Line: 30511
    19    361357   error    Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D
        at http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:13443:12
        at Scope.$digest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30282:19)
        at Scope.$apply (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:30508:24)
        at done (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:24829:47)
        at completeRequest (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:25027:7)
        at XMLHttpRequest.requestLoaded (http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js:24968:9)
    20    361358   error    Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: []
    http://errors.angularjs.org/1.5.3/$rootScope/infdig?p0=10&p1=%5B%5D, 
    http://192.168.0.150:8100/lib/ionic/js/ionic.bundle.js, Line: 30511

#2

That looks like a problem with your Angular code rather than a problem with livereload.