{"action":"created","issue":{"url":"https://api.github.com/repos/sysgears/persistgraphql-webpack-plugin/issues/20","repository_url":"https://api.github.com/repos/sysgears/persistgraphql-webpack-plugin","labels_url":"https://api.github.com/repos/sysgears/persistgraphql-webpack-plugin/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/sysgears/persistgraphql-webpack-plugin/issues/20/comments","events_url":"https://api.github.com/repos/sysgears/persistgraphql-webpack-plugin/issues/20/events","html_url":"https://github.com/sysgears/persistgraphql-webpack-plugin/issues/20","id":326472094,"number":20,"title":"broken when using --watch flag","user":{"login":"ChrisSG","id":12616011,"avatar_url":"https://avatars0.githubusercontent.com/u/12616011?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisSG","html_url":"https://github.com/ChrisSG","followers_url":"https://api.github.com/users/ChrisSG/followers","following_url":"https://api.github.com/users/ChrisSG/following{/other_user}","gists_url":"https://api.github.com/users/ChrisSG/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisSG/subscriptions","organizations_url":"https://api.github.com/users/ChrisSG/orgs","repos_url":"https://api.github.com/users/ChrisSG/repos","events_url":"https://api.github.com/users/ChrisSG/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisSG/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-25T10:42:11Z","updated_at":"2018-05-25T13:21:46Z","closed_at":"2018-05-25T13:21:46Z","author_association":"NONE","body":"When using webpack > 4.6 with the --watch flag it will break with\r\n\r\n`(node:12320) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'watchFileSystem' of undefined`\r\n\r\nI think it's a dependency issue with webpack-virtual-modules rsulting from a chang between webpack 4.6 to 4.7 since is still using persistgraphql-webpack-plugin 1.7.\r\n\r\n**For Webpack 4.6:**\r\nhttps://github.com/sysgears/webpack-virtual-modules/blob/fb8f905f5a9599004b01db38e17213e33e671006/index.js#L50\r\n\r\n**For Webpack 4.7:**\r\nhttps://github.com/sysgears/webpack-virtual-modules/blob/ccca06fe2090c7c6535f5ab21af57c71336c9547/index.js#L50\r\n\r\n\r\nCould you please update the dependency of webpack-virtual-modules to the latest version?\r\n"},"comment":{"url":"https://api.github.com/repos/sysgears/persistgraphql-webpack-plugin/issues/comments/392055809","html_url":"https://github.com/sysgears/persistgraphql-webpack-plugin/issues/20#issuecomment-392055809","issue_url":"https://api.github.com/repos/sysgears/persistgraphql-webpack-plugin/issues/20","id":392055809,"user":{"login":"ChrisSG","id":12616011,"avatar_url":"https://avatars0.githubusercontent.com/u/12616011?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisSG","html_url":"https://github.com/ChrisSG","followers_url":"https://api.github.com/users/ChrisSG/followers","following_url":"https://api.github.com/users/ChrisSG/following{/other_user}","gists_url":"https://api.github.com/users/ChrisSG/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisSG/subscriptions","organizations_url":"https://api.github.com/users/ChrisSG/orgs","repos_url":"https://api.github.com/users/ChrisSG/repos","events_url":"https://api.github.com/users/ChrisSG/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisSG/received_events","type":"User","site_admin":false},"created_at":"2018-05-25T13:21:46Z","updated_at":"2018-05-25T13:21:46Z","author_association":"NONE","body":"Super fast! Seems to be working. Thanks!"}}
{"actor":{"display_login":"ChrisSG"}}