KraigM / HomeBridgeController

Provides a simplified UI for controlling your HomeBridge
87 stars 7 forks source link

Better handle long running installs #24

Closed KraigM closed 8 years ago

KraigM commented 8 years ago

When an install takes too long, the request will timeout and appear to fail.

We can try to integrate with the http continue functionality (possibly).

Another way would be to just send back success when it has started and build another way to check the status.

Ultimately it would also be good to show a progression for the install, but if we handle the continue then we can just create another feature request for the progression.

KraigM commented 8 years ago

So for now I just created a quick system for tracking the status installations. We can enhance it later to show progress bars like npm. From what I can tell, its basically going to involve hacking npm to tell you the progress (like tricking npm into thinking its a tty stream and decode the progress bar or adding listeners to its inner tracking system).

KraigM commented 8 years ago

Completed and will be in the next release (0.5.0)