winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.79k stars 189 forks source link

No hot reloading on JS code changes #5949

Open ShaiBer opened 4 months ago

ShaiBer commented 4 months ago

I tried this:

Write some wing code with extern in JS, make changes to the JS code

This happened:

Nothing

I expected this:

See the changes reflected in the console with hot reloading, same as with the wing code

Is there a workaround?

kill the console and run wing it again

Anything else?

No response

Wing Version

0.61.1

Node.js Version

No response

Platform(s)

MacOS

Community Notes

ainvoner commented 2 months ago

I guess having this would be amazing for this one as well...

skyrpex commented 3 days ago

Yeah, there's hardly anything we can do without https://github.com/winglang/wing/issues/3730.

When it gets implemented in the compiler, we can hook to it and reload as necessary.