{"action":"created","issue":{"url":"https://api.github.com/repos/zinserjan/mocha-webpack/issues/68","repository_url":"https://api.github.com/repos/zinserjan/mocha-webpack","labels_url":"https://api.github.com/repos/zinserjan/mocha-webpack/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/zinserjan/mocha-webpack/issues/68/comments","events_url":"https://api.github.com/repos/zinserjan/mocha-webpack/issues/68/events","html_url":"https://github.com/zinserjan/mocha-webpack/issues/68","id":191243212,"number":68,"title":"--watch is not working great with glob","user":{"login":"serut","id":2767218,"avatar_url":"https://avatars.githubusercontent.com/u/2767218?v=3","gravatar_id":"","url":"https://api.github.com/users/serut","html_url":"https://github.com/serut","followers_url":"https://api.github.com/users/serut/followers","following_url":"https://api.github.com/users/serut/following{/other_user}","gists_url":"https://api.github.com/users/serut/gists{/gist_id}","starred_url":"https://api.github.com/users/serut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serut/subscriptions","organizations_url":"https://api.github.com/users/serut/orgs","repos_url":"https://api.github.com/users/serut/repos","events_url":"https://api.github.com/users/serut/events{/privacy}","received_events_url":"https://api.github.com/users/serut/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-11-23T11:10:55Z","updated_at":"2016-12-13T09:59:07Z","closed_at":"2016-12-13T08:56:31Z","body":"If I use a conditional glob, it's not working well:  \r\n```\r\nmocha-webpack --webpack-config webpack.test.config.js --timeout 50000 --require source-map-support/register --inline-diffs --watch  \"@(tests|web_modules)/**/*.test.js\" \r\n  [MAIN APP] Testing rootReducer\r\n    ✓ should exist\r\n  1 passing (3s)\r\n  0 passing (0ms)\r\n```\r\n\r\nBut if I remove the conditional case `@(tests|web_modules)` => `web_modules`, it works !\r\n```\r\nmocha-webpack --webpack-config webpack.test.config.js --timeout 50000 --require source-map-support/register --inline-diffs --watch  \"web_modules/**/*.test.js\" \r\n  [ADMIN APP] Testing projects actions\r\n    GET /projects calls\r\n      ✓ should leverage a request action on fetch request\r\n      ✓ should leverage a success action on fetch success\r\n      ✓ should leverage a failure action on fetch failure\r\n[...]\r\n  48 passing (6s)\r\n  5 pending\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/zinserjan/mocha-webpack/issues/comments/266696125","html_url":"https://github.com/zinserjan/mocha-webpack/issues/68#issuecomment-266696125","issue_url":"https://api.github.com/repos/zinserjan/mocha-webpack/issues/68","id":266696125,"user":{"login":"zinserjan","id":8046231,"avatar_url":"https://avatars.githubusercontent.com/u/8046231?v=3","gravatar_id":"","url":"https://api.github.com/users/zinserjan","html_url":"https://github.com/zinserjan","followers_url":"https://api.github.com/users/zinserjan/followers","following_url":"https://api.github.com/users/zinserjan/following{/other_user}","gists_url":"https://api.github.com/users/zinserjan/gists{/gist_id}","starred_url":"https://api.github.com/users/zinserjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinserjan/subscriptions","organizations_url":"https://api.github.com/users/zinserjan/orgs","repos_url":"https://api.github.com/users/zinserjan/repos","events_url":"https://api.github.com/users/zinserjan/events{/privacy}","received_events_url":"https://api.github.com/users/zinserjan/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T09:59:07Z","updated_at":"2016-12-13T09:59:07Z","body":"Are you using code splitting like require.ensure?"}}
{"actor":{"display_login":"zinserjan"}}