Repository navigation
Fixed: There is an exception when stopping livesync --watch - #1996
Conversation
|
Will you share what the ugly exception is |
|
^CTypeError: Cannot convert undefined or null to object TypeError: Cannot convert undefined or null to object |
|
I spent some time debugging this issue and I came to a conclusion that the ugly exception is caused because the process exit handler is executed 2 times. This happens because when you press Ctrl+C the process sends two signals and the handler is executed once for each signal. The first execution stops the gaze watcher, but the second one tries to stop it again which results in that exception. I would suggest you do something like |
|
Well, another round of digging and the issue seems to be a bit simpler. Calling |
53caba0 to
a001dec
Compare
|
👍 |
|
Even better 👍 |
tns livesync ios --watch.