{"action":"created","issue":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/992","labels_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/992/labels{/name}","comments_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/992/comments","events_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/992/events","html_url":"https://github.com/phoenixframework/phoenix/issues/992","id":91695959,"number":992,"title":"Reload static assets in production mode without rebooting server","user":{"login":"Nicd","id":273137,"avatar_url":"https://avatars.githubusercontent.com/u/273137?v=3","gravatar_id":"","url":"https://api.github.com/users/Nicd","html_url":"https://github.com/Nicd","followers_url":"https://api.github.com/users/Nicd/followers","following_url":"https://api.github.com/users/Nicd/following{/other_user}","gists_url":"https://api.github.com/users/Nicd/gists{/gist_id}","starred_url":"https://api.github.com/users/Nicd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nicd/subscriptions","organizations_url":"https://api.github.com/users/Nicd/orgs","repos_url":"https://api.github.com/users/Nicd/repos","events_url":"https://api.github.com/users/Nicd/events{/privacy}","received_events_url":"https://api.github.com/users/Nicd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-29T05:00:14Z","updated_at":"2015-06-29T07:09:00Z","closed_at":null,"body":"Currently, AFAIK, there is no way to reload static assets (digested with `phoenix.digest`) in production mode without restarting the server. So for example if I make a simple CSS-only change, I have to take down the entire Phoenix instance. I would much rather remsh into the server and call some function to reload the assets (in my case I always have a remsh running anyway so it would be very useful).\r\n\r\nI mentioned this to @josevalim and he suggested I make a feature request for it."},"comment":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/comments/116487874","html_url":"https://github.com/phoenixframework/phoenix/issues/992#issuecomment-116487874","issue_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/992","id":116487874,"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-06-29T07:09:00Z","updated_at":"2015-06-29T07:09:00Z","body":"I am wondering what our options are. We can definitely provide a function you would call but you would have to log into the node and call IEx. Another option is to support some sort of restart file. We can check for it every minute and clean up the config once we notice it."}}