Check modified time when reusing tmp dir #659
Labels
bug:unexpected behaviour
Technically not a bug, but behavior is surprising so should be treated like one
help-wanted:starter
Want help, and this issue is a great way to get started working on the code base
I recommend that an executable file check its modified time and that of
tmp
dir, so that oldtmp
dir is not be used if the executable file is newer thantmp
dir.Consider the case below,
mix release --executable
_build/prod/rel/<app>/bin/<app>.run
tmp
dir is created_build/prod/rel/<app>/bin/<app>.run
tmp
dir are usedIn this case, any modifications are not reflected to the executable files.
I think it is an unexpected behavior, especially for new users.
The text was updated successfully, but these errors were encountered: