{"action":"closed","issue":{"url":"https://api.github.com/repos/Urthen/case-sensitive-paths-webpack-plugin/issues/8","repository_url":"https://api.github.com/repos/Urthen/case-sensitive-paths-webpack-plugin","labels_url":"https://api.github.com/repos/Urthen/case-sensitive-paths-webpack-plugin/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Urthen/case-sensitive-paths-webpack-plugin/issues/8/comments","events_url":"https://api.github.com/repos/Urthen/case-sensitive-paths-webpack-plugin/issues/8/events","html_url":"https://github.com/Urthen/case-sensitive-paths-webpack-plugin/issues/8","id":169796233,"number":8,"title":"Deleting files shouldn't crash the plugin","user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-07T13:25:55Z","updated_at":"2016-08-08T12:42:37Z","closed_at":"2016-08-08T12:42:37Z","body":"I noticed that if I delete a folder while WebpackDevServer is running, this plugin crashes the process:\r\n\r\n```\r\nCompiling...\r\n/Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/webpack-core/lib/NormalModuleMixin.js:151\r\n\t\t\t\tthrow e;\r\n\t\t\t\t^\r\n\r\nError: ENOENT: no such file or directory, scandir '/Users/dan/p/redux/examples/async/src/store'\r\n    at Error (native)\r\n    at Object.fs.readdirSync (fs.js:856:18)\r\n    at CaseSensitivePathsPlugin.getFilenamesInDir (/Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/case-sensitive-paths-webpack-plugin/index.js:45:19)\r\n    at CaseSensitivePathsPlugin.fileExistsWithCaseSync (/Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/case-sensitive-paths-webpack-plugin/index.js:63:26)\r\n    at NormalModuleFactory.<anonymous> (/Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/case-sensitive-paths-webpack-plugin/index.js:109:34)\r\n    at NormalModuleFactory.applyPluginsAsyncWaterfall (/Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/tapable/lib/Tapable.js:86:13)\r\n    at onDoneResolving (/Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/webpack/lib/NormalModuleFactory.js:38:11)\r\n    at onDoneResolving (/Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/webpack/lib/NormalModuleFactory.js:121:6)\r\n    at /Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/webpack/lib/NormalModuleFactory.js:116:7\r\n    at /Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/async/lib/async.js:726:13\r\n    at /Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/async/lib/async.js:52:16\r\n    at async.forEachOf.async.eachOf (/Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/async/lib/async.js:236:30)\r\n    at _parallel (/Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/async/lib/async.js:717:9)\r\n    at Object.async.parallel (/Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/async/lib/async.js:731:9)\r\n    at /Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/webpack/lib/NormalModuleFactory.js:109:12\r\n    at /Users/dan/p/redux/examples/async/node_modules/react-scripts/node_modules/async/lib/async.js:726:13\r\n```\r\n\r\n"}}
{"actor":{"display_login":"Urthen"}}