{"action":"closed","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/2840","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/2840/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/2840/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/2840/events","html_url":"https://github.com/webpack/webpack/issues/2840","id":169402809,"number":2840,"title":"Webpack new watcher + git adding / removing files","user":{"login":"danielgrippi","id":136649,"avatar_url":"https://avatars.githubusercontent.com/u/136649?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgrippi","html_url":"https://github.com/danielgrippi","followers_url":"https://api.github.com/users/danielgrippi/followers","following_url":"https://api.github.com/users/danielgrippi/following{/other_user}","gists_url":"https://api.github.com/users/danielgrippi/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgrippi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgrippi/subscriptions","organizations_url":"https://api.github.com/users/danielgrippi/orgs","repos_url":"https://api.github.com/users/danielgrippi/repos","events_url":"https://api.github.com/users/danielgrippi/events{/privacy}","received_events_url":"https://api.github.com/users/danielgrippi/received_events","type":"User","site_admin":false},"labels":[{"id":1089820,"url":"https://api.github.com/repos/webpack/webpack/labels/bug","name":"bug","color":"fbca04","default":true},{"id":428473237,"url":"https://api.github.com/repos/webpack/webpack/labels/P2:%20Very%20Important","name":"P2: Very Important","color":"ef7675","default":false},{"id":398105880,"url":"https://api.github.com/repos/webpack/webpack/labels/X4:%20work%20required","name":"X4: work required","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-04T15:27:37Z","updated_at":"2016-12-24T07:06:20Z","closed_at":"2016-12-24T07:06:20Z","body":"**I'm submitting a bug report!**\n\n**Webpack version:**\n1.13.x\n\n**Please tell us about your environment:**\nOSX 10.11.6\n\n**Current behavior:**\nWebpack watcher isn't triggered by files added or removed by git.  Scenario:\n1. Run `webpack --watch` within a git directory\n2. Add new file, `lol.js` in directory (webpack discovers it just fine)\n3. Run `git clean -f` (which actually moves `lol.js` into `./.git/`)\n4. Observe that webpack doesn't detect the change until any other watched file is saved\n\nNOTE: This is not reproducible when using `webpack.OldWatchingPlugin()`\n\n**Expected/desired behavior:**\nIn the above example, running `git clean -f` should cause webpack to detect the change, rebundle, and the contents of `lol.js` shouldn't be present in said bundle.\n- **Browser:** all\n- **Language:** all\n"}}
{"actor":{"display_login":"bebraw"}}