{"action":"created","issue":{"url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/158","repository_url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate","labels_url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/158/comments","events_url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/158/events","html_url":"https://github.com/iam4x/isomorphic-flux-boilerplate/issues/158","id":119863811,"number":158,"title":"Suggestions on zero downtime deployment.","user":{"login":"djbobbydrake","id":578580,"avatar_url":"https://avatars.githubusercontent.com/u/578580?v=3","gravatar_id":"","url":"https://api.github.com/users/djbobbydrake","html_url":"https://github.com/djbobbydrake","followers_url":"https://api.github.com/users/djbobbydrake/followers","following_url":"https://api.github.com/users/djbobbydrake/following{/other_user}","gists_url":"https://api.github.com/users/djbobbydrake/gists{/gist_id}","starred_url":"https://api.github.com/users/djbobbydrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djbobbydrake/subscriptions","organizations_url":"https://api.github.com/users/djbobbydrake/orgs","repos_url":"https://api.github.com/users/djbobbydrake/repos","events_url":"https://api.github.com/users/djbobbydrake/events{/privacy}","received_events_url":"https://api.github.com/users/djbobbydrake/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-02T04:10:40Z","updated_at":"2016-02-20T05:42:31Z","closed_at":"2015-12-18T17:59:54Z","body":"Hey man, this boilerplate has been a life-saver. Thank you sooo much. \r\n\r\nI was interested in knowing your thoughts on how I could achieve zero downtime deployment with this repo.  I've got PM2 running in clustered mode, which seems to work fine.  But when I deploy and run `npm run build`, oftentimes the css files go missing and it looks like the site is down when it really isn't.  Any thoughts on how to remedy this?"},"comment":{"url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/comments/186515553","html_url":"https://github.com/iam4x/isomorphic-flux-boilerplate/issues/158#issuecomment-186515553","issue_url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/158","id":186515553,"user":{"login":"cridenour","id":175568,"avatar_url":"https://avatars.githubusercontent.com/u/175568?v=3","gravatar_id":"","url":"https://api.github.com/users/cridenour","html_url":"https://github.com/cridenour","followers_url":"https://api.github.com/users/cridenour/followers","following_url":"https://api.github.com/users/cridenour/following{/other_user}","gists_url":"https://api.github.com/users/cridenour/gists{/gist_id}","starred_url":"https://api.github.com/users/cridenour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cridenour/subscriptions","organizations_url":"https://api.github.com/users/cridenour/orgs","repos_url":"https://api.github.com/users/cridenour/repos","events_url":"https://api.github.com/users/cridenour/events{/privacy}","received_events_url":"https://api.github.com/users/cridenour/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T05:42:31Z","updated_at":"2016-02-20T05:42:31Z","body":"@djbobbydrake Depends on how your build process works! We are hosting the static files on our app server at our scale without issue, so when I run `npm run build && pm2 reload all` I know that the files will be there.\r\n\r\nThe beauty of not removing the current files is that you can build your files, wait for them to propagate across your CDN and only then restart your app. "}}