{"action":"created","issue":{"url":"https://api.github.com/repos/neutrinojs/neutrino/issues/1074","repository_url":"https://api.github.com/repos/neutrinojs/neutrino","labels_url":"https://api.github.com/repos/neutrinojs/neutrino/issues/1074/labels{/name}","comments_url":"https://api.github.com/repos/neutrinojs/neutrino/issues/1074/comments","events_url":"https://api.github.com/repos/neutrinojs/neutrino/issues/1074/events","html_url":"https://github.com/neutrinojs/neutrino/issues/1074","id":356996333,"node_id":"MDU6SXNzdWUzNTY5OTYzMzM=","number":1074,"title":"start-server plugin should restart server when HMR is off","user":{"login":"djmitche","id":28673,"node_id":"MDQ6VXNlcjI4Njcz","avatar_url":"https://avatars3.githubusercontent.com/u/28673?v=4","gravatar_id":"","url":"https://api.github.com/users/djmitche","html_url":"https://github.com/djmitche","followers_url":"https://api.github.com/users/djmitche/followers","following_url":"https://api.github.com/users/djmitche/following{/other_user}","gists_url":"https://api.github.com/users/djmitche/gists{/gist_id}","starred_url":"https://api.github.com/users/djmitche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djmitche/subscriptions","organizations_url":"https://api.github.com/users/djmitche/orgs","repos_url":"https://api.github.com/users/djmitche/repos","events_url":"https://api.github.com/users/djmitche/events{/privacy}","received_events_url":"https://api.github.com/users/djmitche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-04T22:18:14Z","updated_at":"2018-09-07T15:12:47Z","closed_at":null,"author_association":"NONE","body":"For a node app, HMR is difficult to get right and likely to introduce bugs.  It's easier to  just stop and restart the service with each change.\r\n\r\nAn app using the node preset, with `hot: false`, will currently start the server after the first build, then happily announce \"Build completed\" on further changes, but won't actually do anything with that new build.  That's confusing because the output suggests that it is running the newly-saved code!\r\n\r\nIt turns out that based on a feature of start-server-webpack-plugin, you can type `rs\\n` and it will kill the old process and start a new one.\r\n\r\nIs it possible to automatically kill-and-restart the service every time it is rebuilt?"},"comment":{"url":"https://api.github.com/repos/neutrinojs/neutrino/issues/comments/419471233","html_url":"https://github.com/neutrinojs/neutrino/issues/1074#issuecomment-419471233","issue_url":"https://api.github.com/repos/neutrinojs/neutrino/issues/1074","id":419471233,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTQ3MTIzMw==","user":{"login":"djmitche","id":28673,"node_id":"MDQ6VXNlcjI4Njcz","avatar_url":"https://avatars3.githubusercontent.com/u/28673?v=4","gravatar_id":"","url":"https://api.github.com/users/djmitche","html_url":"https://github.com/djmitche","followers_url":"https://api.github.com/users/djmitche/followers","following_url":"https://api.github.com/users/djmitche/following{/other_user}","gists_url":"https://api.github.com/users/djmitche/gists{/gist_id}","starred_url":"https://api.github.com/users/djmitche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djmitche/subscriptions","organizations_url":"https://api.github.com/users/djmitche/orgs","repos_url":"https://api.github.com/users/djmitche/repos","events_url":"https://api.github.com/users/djmitche/events{/privacy}","received_events_url":"https://api.github.com/users/djmitche/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T15:12:47Z","updated_at":"2018-09-07T15:12:47Z","author_association":"NONE","body":"It's on npm.. https://www.npmjs.com/package/neutrino-middleware-restart-server"}}
{"actor":{"display_login":"djmitche"}}