{"action":"opened","issue":{"url":"https://api.github.com/repos/HashNuke/heroku-buildpack-elixir/issues/34","labels_url":"https://api.github.com/repos/HashNuke/heroku-buildpack-elixir/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/HashNuke/heroku-buildpack-elixir/issues/34/comments","events_url":"https://api.github.com/repos/HashNuke/heroku-buildpack-elixir/issues/34/events","html_url":"https://github.com/HashNuke/heroku-buildpack-elixir/issues/34","id":76735459,"number":34,"title":"Don't require `always_rebuild=true` to pull in app changes","user":{"login":"rwdaigle","id":1012,"avatar_url":"https://avatars.githubusercontent.com/u/1012?v=3","gravatar_id":"","url":"https://api.github.com/users/rwdaigle","html_url":"https://github.com/rwdaigle","followers_url":"https://api.github.com/users/rwdaigle/followers","following_url":"https://api.github.com/users/rwdaigle/following{/other_user}","gists_url":"https://api.github.com/users/rwdaigle/gists{/gist_id}","starred_url":"https://api.github.com/users/rwdaigle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwdaigle/subscriptions","organizations_url":"https://api.github.com/users/rwdaigle/orgs","repos_url":"https://api.github.com/users/rwdaigle/repos","events_url":"https://api.github.com/users/rwdaigle/events{/privacy}","received_events_url":"https://api.github.com/users/rwdaigle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-15T14:01:42Z","updated_at":"2015-05-15T14:01:42Z","closed_at":null,"body":"I'm seeing the following behavior in my Phoenix app on Heroku using this buildpack. I wonder if I'm doing something wrong...\r\n\r\nMy app deploys to Heroku fine the first time and runs without issue. However, subsequent deploys don't pick up any changes made since the previous deploy. If I edit a model, that new model source exists on Heroku after the build (when I browse the dyno filesystem via `heroku run bash`), but when running the app it's still using the previous build's compiled code (as evidence by the new functionality not being executed nor any stack trace line numbers matching the new source).\r\n\r\nIf I add `always_rebuild=true` to my `elixir_buildpack.config`, the app is recompiled and new changes are properly executed. However, as you know, that incurs a pretty stiff penalty as each deploy now requires the whole world to be recompiled.\r\n\r\nIs this expected behavior?\r\n\r\nMy `Procfile` is (this behavior exists for both versions of the `web` process type):\r\n\r\n```\r\n# web: mix phoenix.server\r\nweb: yes | mix compile.protocols && elixir -pa _build/prod/consolidated -S mix phoenix.server\r\n```\r\n\r\nHere's my `elixir_buildpack.config`\r\n\r\n```\r\nerlang_version=17.5\r\nelixir_version=1.0.4\r\nalways_rebuild=true\r\n```"}}