{"action":"closed","issue":{"url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/463","repository_url":"https://api.github.com/repos/webpack/webpack-dev-server","labels_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/463/comments","events_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/463/events","html_url":"https://github.com/webpack/webpack-dev-server/issues/463","id":150811843,"number":463,"title":"crashing and exiting on syntax error","user":{"login":"Offirmo","id":603503,"avatar_url":"https://avatars.githubusercontent.com/u/603503?v=3","gravatar_id":"","url":"https://api.github.com/users/Offirmo","html_url":"https://github.com/Offirmo","followers_url":"https://api.github.com/users/Offirmo/followers","following_url":"https://api.github.com/users/Offirmo/following{/other_user}","gists_url":"https://api.github.com/users/Offirmo/gists{/gist_id}","starred_url":"https://api.github.com/users/Offirmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Offirmo/subscriptions","organizations_url":"https://api.github.com/users/Offirmo/orgs","repos_url":"https://api.github.com/users/Offirmo/repos","events_url":"https://api.github.com/users/Offirmo/events{/privacy}","received_events_url":"https://api.github.com/users/Offirmo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-04-25T10:10:38Z","updated_at":"2016-08-27T14:30:21Z","closed_at":"2016-08-27T14:30:21Z","body":"During development, I usually write temporary invalid code (ex. after a copy/paste). Then I stuff like that happen : \r\n\r\n```\r\n.../webpack-dev-server/node_modules/webpack-dev-middleware/middleware.js:106\r\n\t\t\tif(err) throw err;\r\n\t\t\t        ^\r\nModuleNotFoundError: Module not found: Error: Cannot resolve 'file' or 'directory' ../../user/index in ...\r\n```\r\n\r\nThen webpack-dev-server/ crashes : `Exit status 1` :-( And I have to manually restart it...\r\n\r\nI searched into the config for an option to make the server more resilient, but didn't found one.\r\n\r\nShouldn't the request just fail and wait for further file change (nodemon like) ? Any advice ?"}}
{"actor":{"display_login":"SpaceK33z"}}