Open murphye opened 4 years ago
This would be nice, but not sure I can implement it without patching/change vert.x ...you are basically asking that vert.x during its --redeploy it would honors jbang's "magic" of fetching dependencies and change the class path.
This could maybe be implemented once we have #487 and some api for getting the sourrounding jbang script...then you could imagine jbang dev@vertx yourscript.java
and dev
would be alias to a main handler which would do what --redeploy
does.
@julienponge and @jviet interested ?
This is sort of nebulous feature request, but I will do my best to explain.
It would be neat to better support Live Editing for Vert.x by using the Vert.x Launcher class, which has a
main
method to bootstrap it.The end result would be when you run
--edit-live
with a Vert.x app, and Launcher, it could use Vert.x Launcher--redeploy
mechanism as well.I tried to think of a good way to do this, but came up empty. It should be prescriptive, ideally with minimal fuss to get working.