{"action":"opened","issue":{"url":"https://api.github.com/repos/tcoopman/image-webpack-loader/issues/50","repository_url":"https://api.github.com/repos/tcoopman/image-webpack-loader","labels_url":"https://api.github.com/repos/tcoopman/image-webpack-loader/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/tcoopman/image-webpack-loader/issues/50/comments","events_url":"https://api.github.com/repos/tcoopman/image-webpack-loader/issues/50/events","html_url":"https://github.com/tcoopman/image-webpack-loader/issues/50","id":185105175,"number":50,"title":"EventEmitter memory leak","user":{"login":"Lammmas","id":2656543,"avatar_url":"https://avatars.githubusercontent.com/u/2656543?v=3","gravatar_id":"","url":"https://api.github.com/users/Lammmas","html_url":"https://github.com/Lammmas","followers_url":"https://api.github.com/users/Lammmas/followers","following_url":"https://api.github.com/users/Lammmas/following{/other_user}","gists_url":"https://api.github.com/users/Lammmas/gists{/gist_id}","starred_url":"https://api.github.com/users/Lammmas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lammmas/subscriptions","organizations_url":"https://api.github.com/users/Lammmas/orgs","repos_url":"https://api.github.com/users/Lammmas/repos","events_url":"https://api.github.com/users/Lammmas/events{/privacy}","received_events_url":"https://api.github.com/users/Lammmas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-25T12:37:57Z","updated_at":"2016-10-25T12:37:57Z","closed_at":null,"body":"Upon using even the most basic `'image-webpack?bypassOnDebug&optimizationLevel=7&interlaced=false'` \r\nI get the following errors:\r\n```\r\n(node) warning: possible EventEmitter memory leak detected. 11 exit listeners added. Use emitter.setMaxListeners() to increase limit.\r\nTrace\r\n    at EventEmitter.addListener (events.js:239:17)\r\n    at module.exports (H:\\Dev\\node_modules\\signal-exit\\index.js:41:11)\r\n    at module.exports.promise (H:\\Dev\\node_modules\\execa\\index.js:146:23)\r\n    at H:\\Dev\\node_modules\\exec-buffer\\index.js:35:15\r\n\r\n```\r\n\r\nAs soon as I remove the loader, everything is fine.\r\n\r\nMy webpack:\r\n```\r\nvar webpack = require('webpack'),\r\n    HtmlWebpackPlugin = require('html-webpack-plugin'),\r\n    ExtractTextPlugin = require('extract-text-webpack-plugin'),\r\n    helpers = require('./helpers');\r\n\r\nmodule.exports = {\r\n    entry: {\r\n        'polyfills': './src/polyfills.ts',\r\n        'vendor': './src/vendor.ts',\r\n        'app': './src/main.ts'\r\n    },\r\n\r\n    resolve: {\r\n        extensions: ['', '.js', '.ts']\r\n    },\r\n\r\n    module: {\r\n        loaders: [\r\n            {\r\n                test: /\\.ts$/,\r\n                loaders: [\r\n                    'awesome-typescript-loader',\r\n                    'angular2-template-loader'\r\n                ]\r\n            },\r\n            {\r\n                test: /\\.html$/,\r\n                loader: 'html'\r\n            },\r\n            {\r\n                test: /\\.(png|jpe?g|gif|svg|woff|woff2|ttf|eot|ico)$/,\r\n                loaders: [\r\n                    'file?name=assets/[name].[hash].[ext]',\r\n                    'image-webpack?bypassOnDebug&optimizationLevel=7&interlaced=false'\r\n                ]\r\n            },\r\n            {\r\n                test: /\\.css$/,\r\n                exclude: helpers.root('src', 'app'),\r\n                loader: ExtractTextPlugin.extract('style', 'css?sourceMap')\r\n            },\r\n            {\r\n                test: /\\.css$/,\r\n                include: helpers.root('src', 'app'),\r\n                loader: 'raw'\r\n            }\r\n        ]\r\n    },\r\n\r\n    plugins: [\r\n        new webpack.optimize.CommonsChunkPlugin({\r\n            name: ['app', 'vendor', 'polyfills']\r\n        }),\r\n\r\n        new HtmlWebpackPlugin({\r\n            template: 'src/index.html'\r\n        }),\r\n\r\n        new webpack.ProvidePlugin({\r\n            jQuery: 'jquery',\r\n            $: 'jquery',\r\n            jquery: 'jquery'\r\n        })\r\n    ],\r\n};\r\n```"}}
{"actor":{"display_login":"Lammmas"}}