suborbital / subo

The Suborbital CLI
Apache License 2.0
81 stars 24 forks source link

Atmo live reload #81

Open reconbot opened 3 years ago

reconbot commented 3 years ago

I have a feature request for live reloading when using subo dev.

I'm coming from a "similar in function but different in scope" dev environment called architect and one of the best features I've been able to take advantage of in development is the ability to reload function (or in our case runnable) code without restarting the web server or manually triggering the build process. This includes editing the arc equivalent of Directive.yaml.

It's unclear to me if atmo would ever support websockets (arc does because it's emulating aws's api gateway which has that feature), but being able to modify message handlers on a connected web socket is an amazing development experience.

cohix commented 3 years ago

@reconbot yep, live reload is certainly in the plans, and in fact the ground work has been laid in Atmo's internals, so it's probably about 40% of the way there!