Eel icon indicating copy to clipboard operation
Eel copied to clipboard

Reload Eel on Python file changes

Open samuelhwilliams opened this issue 5 years ago • 1 comments

Add support for reloading the Bottle server during development. Eel on the JS side will now try to automatically reconnect to the Python/Bottle server when the websocket dies. This allows us to let the Bottle server die and restart to pull in new changes.

An explicit port must be set when we want to use the reloading server to make sure that it restarts on the same port, as that is the port that the JS side will be trying to connect to.

samuelhwilliams avatar Jul 09 '20 10:07 samuelhwilliams

Need to test this on Windows, make sure it works, and investigate the test failure...

samuelhwilliams avatar Jul 26 '20 20:07 samuelhwilliams