{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/4124","labels_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4124/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4124/comments","events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4124/events","html_url":"https://github.com/elixir-lang/elixir/issues/4124","id":124187937,"number":4124,"title":"Mix does not recompile files after manually deleting a .beam from _build","user":{"login":"alco","id":207748,"avatar_url":"https://avatars.githubusercontent.com/u/207748?v=3","gravatar_id":"","url":"https://api.github.com/users/alco","html_url":"https://github.com/alco","followers_url":"https://api.github.com/users/alco/followers","following_url":"https://api.github.com/users/alco/following{/other_user}","gists_url":"https://api.github.com/users/alco/gists{/gist_id}","starred_url":"https://api.github.com/users/alco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alco/subscriptions","organizations_url":"https://api.github.com/users/alco/orgs","repos_url":"https://api.github.com/users/alco/repos","events_url":"https://api.github.com/users/alco/events{/privacy}","received_events_url":"https://api.github.com/users/alco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/App:Mix","name":"App:Mix","color":"CCCCCC"},{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/Kind:Bug","name":"Kind:Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-29T09:44:45Z","updated_at":"2015-12-29T11:16:52Z","closed_at":null,"body":"Elixir version 5968df9.\r\n\r\n```\r\n$ mix new recomp\r\n$ cd recomp\r\n$ mix compile\r\nCompiled lib/recomp.ex\r\nGenerated recomp app\r\nConsolidated List.Chars\r\nConsolidated Collectable\r\nConsolidated String.Chars\r\nConsolidated Enumerable\r\nConsolidated IEx.Info\r\nConsolidated Inspect\r\n$ rm _build/dev/lib/recomp/ebin/Elixir.Recomp.beam\r\n$ mix compile\r\nGenerated recomp app\r\n$ mix run -e \"Recomp.module_info\"\r\n** (UndefinedFunctionError) undefined function Recomp.module_info/0 (module Recomp is not available)\r\n$ mix clean; mix compile\r\nCompiled lib/recomp.ex\r\nGenerated recomp app\r\nConsolidated List.Chars\r\nConsolidated Collectable\r\nConsolidated String.Chars\r\nConsolidated Enumerable\r\nConsolidated IEx.Info\r\nConsolidated Inspect\r\n$ mix run -e \"Recomp.module_info\"\r\n```"},"comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments/167767639","html_url":"https://github.com/elixir-lang/elixir/issues/4124#issuecomment-167767639","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/4124","id":167767639,"user":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T11:16:52Z","updated_at":"2015-12-29T11:16:52Z","body":"I don't think we should. Why are files being removed from build manually?\nIf you change the manifest file, for example, things may not go as expected\nas well.\n\nOn Tuesday, December 29, 2015, Alexei Sholik <notifications@github.com>\nwrote:\n\n> Elixir version 5968df9\n> <https://github.com/elixir-lang/elixir/commit/5968df9649bc293a8361aa951feb0f4301bcb892>\n> .\n>\n> $ mix new recomp\n> $ cd recomp\n> $ mix compile\n> Compiled lib/recomp.ex\n> Generated recomp app\n> Consolidated List.Chars\n> Consolidated Collectable\n> Consolidated String.Chars\n> Consolidated Enumerable\n> Consolidated IEx.Info\n> Consolidated Inspect\n> $ rm _build/dev/lib/recomp/ebin/Elixir.Recomp.beam\n> $ mix compile\n> Generated recomp app\n> $ mix run -e \"Recomp.module_info\"\n> ** (UndefinedFunctionError) undefined function Recomp.module_info/0 (module Recomp is not available)\n> $ mix clean; mix compile\n> Compiled lib/recomp.ex\n> Generated recomp app\n> Consolidated List.Chars\n> Consolidated Collectable\n> Consolidated String.Chars\n> Consolidated Enumerable\n> Consolidated IEx.Info\n> Consolidated Inspect\n> $ mix run -e \"Recomp.module_info\"\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/elixir-lang/elixir/issues/4124>.\n>\n\n\n-- \n\n\n*José Valim*\nwww.plataformatec.com.br\nSkype: jv.ptec\nFounder and Director of R&D\n"}}