{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/959","labels_url":"https://api.github.com/repos/webpack/webpack/issues/959/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/959/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/959/events","html_url":"https://github.com/webpack/webpack/issues/959","id":67209917,"number":959,"title":"Uncaught TypeError: Cannot read property 'call' of undefined","user":{"login":"kfancy","id":161265,"avatar_url":"https://avatars.githubusercontent.com/u/161265?v=3","gravatar_id":"","url":"https://api.github.com/users/kfancy","html_url":"https://github.com/kfancy","followers_url":"https://api.github.com/users/kfancy/followers","following_url":"https://api.github.com/users/kfancy/following{/other_user}","gists_url":"https://api.github.com/users/kfancy/gists{/gist_id}","starred_url":"https://api.github.com/users/kfancy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfancy/subscriptions","organizations_url":"https://api.github.com/users/kfancy/orgs","repos_url":"https://api.github.com/users/kfancy/repos","events_url":"https://api.github.com/users/kfancy/events{/privacy}","received_events_url":"https://api.github.com/users/kfancy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webpack/webpack/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-04-08T20:14:57Z","updated_at":"2016-01-02T08:30:45Z","closed_at":null,"body":"I'm having an issue with webpack where if I stop watching and restart, it will build just fine, but if I edit a file and save it, the incremental build fails with this error:\r\n\r\n**Uncaught TypeError: Cannot read property 'call' of undefined**\r\n\r\nHunting it down there's a module that does not get included in the incremental change build. Best guess is the path followed to re-make the bundle file is not being followed correctly. Upon re-running (stop and start), the missing module is included.\r\n\r\nwebpack.config.js (module names changed to protect the innocent):\r\n\r\n``` javascript\r\nvar webpack = require(\"webpack\"),\r\n\tpath = require('path')\r\n\t;\r\n\r\nmodule.exports = {\r\n  entry: {\r\n  \tEntry1: \"./app/Entry1.js\",\r\n  \tEntry2: \"./app/Entry2.js\",\r\n  \tEntry3: \"./app/Entry3.js\",\r\n  \tEntry4: \"./app/Entry4.js\",\r\n  \tEntry5: \"./app/Entry5.js\",\r\n  \tEntry6: \"./app/Entry6.js\",\r\n  \tEntry7: \"./app/Entry7.js\",\r\n  \tEntry8: \"./app/Entry8.js\",\r\n  },\r\n  output: {\r\n    path: path.join(__dirname, \"public/js\"),\r\n    filename: \"[name].bundle.js\",\r\n    chunkFilename: \"[id].chunk.js\"\r\n  },\r\n  module: {\r\n    loaders: [\r\n      {test: /\\.js$/, loader: 'jsx-loader'}\r\n    ]\r\n  },\r\n\tplugins: [\r\n\t\tnew webpack.optimize.CommonsChunkPlugin(\"shared.js\")\r\n    ]\r\n};\r\n```"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/168373245","html_url":"https://github.com/webpack/webpack/issues/959#issuecomment-168373245","issue_url":"https://api.github.com/repos/webpack/webpack/issues/959","id":168373245,"user":{"login":"princed","id":796050,"avatar_url":"https://avatars.githubusercontent.com/u/796050?v=3","gravatar_id":"","url":"https://api.github.com/users/princed","html_url":"https://github.com/princed","followers_url":"https://api.github.com/users/princed/followers","following_url":"https://api.github.com/users/princed/following{/other_user}","gists_url":"https://api.github.com/users/princed/gists{/gist_id}","starred_url":"https://api.github.com/users/princed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/princed/subscriptions","organizations_url":"https://api.github.com/users/princed/orgs","repos_url":"https://api.github.com/users/princed/repos","events_url":"https://api.github.com/users/princed/events{/privacy}","received_events_url":"https://api.github.com/users/princed/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T08:30:44Z","updated_at":"2016-01-02T08:30:44Z","body":"05:58, January 2, 2016, Naila <notifications@github.com>:Hey, I'm getting this issue when I try to require textAngular and textAngular-santize. Any ideas on how I can get around it would be much appreciated! —Reply to this email directly or view it on GitHub.     С уважением,Датский Евгений"}}