Open ryanramage opened 4 months ago
Agree. Tried to set the reload the same way and app was never reloaded
For me it closed and did not log. Also, should pear dev
auto update any way? The docs say it should, but it doesn't.
I'm on v0.2727.pqbzjhqyonxprx8hghxexnmctw75mr91ewqw5dxe1zmntfyaddqy
Any updates on this? Makes the dx really frustrating.
@knownasilya we've just been through a heavy refactor phase and just surfacing to deal with missing bits - this isn't done yet see the TODO (https://github.com/holepunchto/pear/blob/main/subsystems/sidecar/index.js#L523) - but someone is on it and it's coming
phase one for this is merged to main and will be out in next release, likely in next release we'll also have the native patch to pear-runtime-build in so that terminal apps restart-in-place. This means you can restart without losing terminal I/O. Opt for full process restart with Pear.restart({ hard: true })
@davidmarkclements is this going out soon, looks like the pear-cli project has been pretty stand-still, so still wondering.
I did find a workaround that doesn't require running pear dev
after every change, you can do cmd+r to get new changes.
here is the simplest pear app to reproduce
If you run this with its key, and do pear stage dev, this is what keeps happening. sometime it crashes or sometimes it just hangs, without reload. but always it dumps out the exception seen below