tarantool / cartridge-cli

Command-line utility to manage tarantool cartridge applications
Other
49 stars 17 forks source link

Implement "watch" mode for "cartridge start" #249

Open knazarov opened 4 years ago

knazarov commented 4 years ago

When I develop code, I would like "cartridge start" to automatically watch for changes on filesystem and reload the code.

The primitive approach may be to check the code for errors by doing a "load", and then doing a complete restart in the same session if the code loads OK.

More advanced approach may be to do hot code reload by reloading modules in package.loaded.

artur-barsegyan commented 3 years ago

Depends on https://github.com/tarantool/cartridge/issues/1100