Skip to content

Hot Reloading in Development #190

Answered by DavidVujic
michealroberts asked this question in Q&A
Discussion options

You must be logged in to vote

Another option could be to have a "local dev" Dockerfile (naming it something like Dockerfile.dev) that mounts a volume at your local host machine instead of the production Dockerfile that copies a built wheel. I think you can do that, and have it run with a reload option. Then you can write code, and the running app in docker would reload. My recommendation would still be to run the app on your local machine directly, for a better developer experience.

(This thing is about Python development in general, and not specific to Polylith)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by DavidVujic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants