-
Notifications
You must be signed in to change notification settings - Fork 17
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
When push to production, it says modified: mix.lock #21
Comments
Seems in my local dev, not mix phoenix.server to update mix.lock at first time. Tried again, seems mix.lock changes. |
Hey @loongmxbt, It could be possible for your mix.lock file to change. Your mix file has some dependencies that are specific to dev? That being said. This shouldn't make too big of a difference when deploying. When you |
Just a thought: Are you using the same version of Elixir and Hex between dev and production? Mine randomly changed the order of some dependencies when I upgraded one of those. |
@hut8 I knew I had the same Elixir version but I forgot about Hex. Thanks! I just run |
Simply do |
When I push to production master, always need to
git checkout -- mix.lock
local: Working directory has unstaged changes.
Should I add mix.lock into
.gitignore
?How does the .lock file change after deploy? (I assume the dev and prod .lock should be same?)
Am I missing something, Thanks!
The text was updated successfully, but these errors were encountered: