{"action":"created","issue":{"url":"https://api.github.com/repos/paulmillr/chokidar/issues/369","labels_url":"https://api.github.com/repos/paulmillr/chokidar/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/paulmillr/chokidar/issues/369/comments","events_url":"https://api.github.com/repos/paulmillr/chokidar/issues/369/events","html_url":"https://github.com/paulmillr/chokidar/issues/369","id":111840816,"number":369,"title":"Examples for .watch function","user":{"login":"FernandoBasso","id":6560620,"avatar_url":"https://avatars.githubusercontent.com/u/6560620?v=3","gravatar_id":"","url":"https://api.github.com/users/FernandoBasso","html_url":"https://github.com/FernandoBasso","followers_url":"https://api.github.com/users/FernandoBasso/followers","following_url":"https://api.github.com/users/FernandoBasso/following{/other_user}","gists_url":"https://api.github.com/users/FernandoBasso/gists{/gist_id}","starred_url":"https://api.github.com/users/FernandoBasso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernandoBasso/subscriptions","organizations_url":"https://api.github.com/users/FernandoBasso/orgs","repos_url":"https://api.github.com/users/FernandoBasso/repos","events_url":"https://api.github.com/users/FernandoBasso/events{/privacy}","received_events_url":"https://api.github.com/users/FernandoBasso/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-16T14:13:39Z","updated_at":"2015-10-16T14:41:03Z","closed_at":"2015-10-16T14:19:41Z","body":"I am trying to do something like this:\r\n\r\n    chokidar.watch('**/*.js, **/*.css' { ...\r\n\r\nIt works if I only have `'**/*.js'`, for instance, but not with both globs (in which case I keep minifying already minified files, since it seems the ignore doesn't work then). Is that even possible? I could not figure out from reading the README if it would be the way I tried, or\r\n\r\n    .watch('**/*.js', '**/.css' { ...\r\n\r\nor something else.\r\n\r\nThis is the relevant piece of code I am trying:\r\n\r\n    var watcher = chokidar.watch('**/*.js, **/*.css', {\r\n      ignored: /[\\/\\\\]\\.|\\.min\\./,\r\n      persistent: true\r\n    });\r\n"},"comment":{"url":"https://api.github.com/repos/paulmillr/chokidar/issues/comments/148735310","html_url":"https://github.com/paulmillr/chokidar/issues/369#issuecomment-148735310","issue_url":"https://api.github.com/repos/paulmillr/chokidar/issues/369","id":148735310,"user":{"login":"es128","id":1740641,"avatar_url":"https://avatars.githubusercontent.com/u/1740641?v=3","gravatar_id":"","url":"https://api.github.com/users/es128","html_url":"https://github.com/es128","followers_url":"https://api.github.com/users/es128/followers","following_url":"https://api.github.com/users/es128/following{/other_user}","gists_url":"https://api.github.com/users/es128/gists{/gist_id}","starred_url":"https://api.github.com/users/es128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/es128/subscriptions","organizations_url":"https://api.github.com/users/es128/orgs","repos_url":"https://api.github.com/users/es128/repos","events_url":"https://api.github.com/users/es128/events{/privacy}","received_events_url":"https://api.github.com/users/es128/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T14:41:03Z","updated_at":"2015-10-16T14:41:03Z","body":"https://github.com/paulmillr/chokidar/commit/625fe8e2660257e2f3d352d5cab312d0cdac95ea\r\n\r\nHopefully this helps to clarify. If you have any suggestions about better ways to present it let me know."}}