-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not changing code before run unit tests #26
Comments
Can you post the Github link to your code? Sent from my iPhone
|
Gunicorn does not do auto reload changes in your code by default. You can add param --reload to gunicron, but it is not recommend to do this in prd env, cause it may lead to memory lead. In my opinion the right way is to stop & rm the container, thne |
@FingerLiu in development this can be pretty burdensome. Any suggestions? |
I'd say use a volume for local development and runserver instead of gunicorn, so code is reloaded whenever you make a change. |
Agreed @dukebody. That's how I set up the compose file. |
Maybe in development, runserver is enough, but if a man insist to use as |
@gilsondev Did you see updated code inside Docker container? |
When I create and run the container, I run the tests to check the result. But when I make a change, it is not reflected and shows the same result. How can he see this change in code?
The text was updated successfully, but these errors were encountered: