-
Notifications
You must be signed in to change notification settings - Fork 13
Need to restart cozy-light when installing an application #2
Comments
Thank you @jbd for the report. We are aware of that. I'm going to look if I can perform a quick fix on it. |
After investigating it, I can't see straightforward solution. Doing that requires that the cozy-light processing the installation communicates with the running cozy-light server. It requires to add an addtional route to the API server. So that's a little bit more work :). |
How about having a bin wrapper that would install a fs.watcher on cozy config file, and stop / start process of the server ? |
Yeah a watcher would be a simpler solution than two instances communicating each other. |
@jbd Hot app reloading will be included in the next 0.3.0 release. Currently it reloads all apps when the configuration file is changed. It could be classier but that way of dealing with hot relaoding keep the code simple. |
as soon we have more complete test suite, eventually, integration test, this ticket can be considered a close. |
On next release we ll close that topic if you are fine with it. |
We don't want the same port. If you start two applications in a row, with the same port, the second will raise an 'address is in used' error. |
Unless it is properly closed. Which must be the case, thus there is no reason to consume higher ports than the number of app+1. As i said, if this strategy is kept, IE keep using new port number, users will face troubles when lots of restart occurs. |
Hi,
when I'm installing an app (like cozy-calendar), it does not appear on the cozy-light start page, even after a refresh. I've to restart cozy-light for the changes to take effect. It breaks (a little) the good feeling you can have when starting playing with cozy-light =)
The text was updated successfully, but these errors were encountered: