I'm debugging on an Android device (Moto G3, Marshmallow) connected via USB, using the CLI, of course, and PHPStorm as IDE. I deploy the app with 'appbuilder deploy android --debug', then (successfully) activate the live sync with 'appbuilder livesync --watch'. Nonetheless, as soon as I save changes on the computer (MAC, El Capitan) I get this error:
TypeError: Cannot read property 'wait' of null
at FiberFuture.Future.wait (/usr/local/lib/node_modules/appbuilder/node_modules/fibers/future.js:535:15)
- - - - -
at Function.settle (/usr/local/lib/node_modules/appbuilder/node_modules/fibers/future.js:249:26)
at FiberFuture.Future.wait (/usr/local/lib/node_modules/appbuilder/node_modules/fibers/future.js:534:10)
Suggestions? Am I doing something wrong?
In addition, even if I don't explicitly activate the livesync, when I tap the three fingers on the screen the app updates, but not to the code I've modified on my computer. Where does it take the code then?