dynamic discovery of golang wasm without restarting server
gedw99 opened this issue · comments
Is your feature request related to a problem? Please describe.
if i have the server running and then add, delete or update a golang wasm, the server does not realise it.
I don't know if python and ruby has the same behaviour as i was concentrating on the golang examples.
Describe the solution you'd like
Can add, delete, change golang wasm without restarting the server.
Describe alternatives you've considered
I looked on the cli for a reload command but found none.
Additional context
wasm-workers-server 1.2.0
GOVERSION="go1.20.5"
Hello @gedw99,
Thank you for opening the issue! As you mentioned, this behavior is not implemented and it's affecting to all languages. It's a very convenient feature for development, so I totally agree on adding it to the project.
I'm looking to open several issues regarding major changes in the CLI. One of them will be the addition of a new command called dev
. This command will enable certain behavior by default like the read-only administration panel. I think the watch
mode you're mentioning could be a great addition here 😄.
Meanwhile the dev
command is not present, we can enable this feature with the --watch
flag.