Add support for reloadable process types RFC #59
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
BP_LIVE_RELOAD_ENABLED
is set and truewatchexec
reload
that callswatchexec -r <normal command>
reload
This can be used in conjunction with a Tiltfile like:
When code changes are made to a watched directory, Tilt will push the changes out to the container. Those will be observed by
watchexec
and the main process will reload, reloading your changes. With DistZip this is a little bit less practical because you are pushing up a ZIP file that contains a JAR file with all of your application files in that. You cannot easily recompile and upload a few class files. It is technically possible though to recompile and send your entire JAR file. When done,watchexec
will see the change and reload the application.Use Cases
Implement the Reloadable Process Type RFC
Checklist