{"action":"created","issue":{"url":"https://api.github.com/repos/floatdrop/gulp-watch/issues/150","labels_url":"https://api.github.com/repos/floatdrop/gulp-watch/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/floatdrop/gulp-watch/issues/150/comments","events_url":"https://api.github.com/repos/floatdrop/gulp-watch/issues/150/events","html_url":"https://github.com/floatdrop/gulp-watch/issues/150","id":64639128,"number":150,"title":"Does not work when using wildcards","user":{"login":"mpiasta-ca","id":672103,"avatar_url":"https://avatars.githubusercontent.com/u/672103?v=3","gravatar_id":"","url":"https://api.github.com/users/mpiasta-ca","html_url":"https://github.com/mpiasta-ca","followers_url":"https://api.github.com/users/mpiasta-ca/followers","following_url":"https://api.github.com/users/mpiasta-ca/following{/other_user}","gists_url":"https://api.github.com/users/mpiasta-ca/gists{/gist_id}","starred_url":"https://api.github.com/users/mpiasta-ca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpiasta-ca/subscriptions","organizations_url":"https://api.github.com/users/mpiasta-ca/orgs","repos_url":"https://api.github.com/users/mpiasta-ca/repos","events_url":"https://api.github.com/users/mpiasta-ca/events{/privacy}","received_events_url":"https://api.github.com/users/mpiasta-ca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-03-26T21:32:40Z","updated_at":"2015-04-02T18:57:31Z","closed_at":null,"body":"Spent over an hour on this already. Finally I just switched to using `gulp.watch(...)` instead and that worked right away.\r\n\r\nCreated a new build today, installed using `npm install gulp-watch --save-dev`. \r\n\r\nTask was being fired. But the source files look like they're not loading properly.\r\n\r\nThis doesn't work:\r\n```\r\nvar gulp = require('gulp'),\r\n    watch = require('gulp-watch');\r\ngulp.task('watch', function () {\r\n  watch('src/**/*.js', function () {\r\n    console.log(\"Watch is working...\");\r\n  });\r\n});\r\n```\r\n\r\nStrangely, using a direct path it works:\r\n```\r\nvar gulp = require('gulp'),\r\n    watch = require('gulp-watch');\r\ngulp.task('watch', function () {\r\n  watch('src/scripts/app.js', function () {\r\n    console.log(\"Watch is working...\");\r\n  });\r\n});\r\n```\r\n\r\nCouldn't get it to work using wildcards like `src/**/*.js` or even just `src/scripts/*.js`."},"comment":{"url":"https://api.github.com/repos/floatdrop/gulp-watch/issues/comments/89009032","html_url":"https://github.com/floatdrop/gulp-watch/issues/150#issuecomment-89009032","issue_url":"https://api.github.com/repos/floatdrop/gulp-watch/issues/150","id":89009032,"user":{"login":"floatdrop","id":365089,"avatar_url":"https://avatars.githubusercontent.com/u/365089?v=3","gravatar_id":"","url":"https://api.github.com/users/floatdrop","html_url":"https://github.com/floatdrop","followers_url":"https://api.github.com/users/floatdrop/followers","following_url":"https://api.github.com/users/floatdrop/following{/other_user}","gists_url":"https://api.github.com/users/floatdrop/gists{/gist_id}","starred_url":"https://api.github.com/users/floatdrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floatdrop/subscriptions","organizations_url":"https://api.github.com/users/floatdrop/orgs","repos_url":"https://api.github.com/users/floatdrop/repos","events_url":"https://api.github.com/users/floatdrop/events{/privacy}","received_events_url":"https://api.github.com/users/floatdrop/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T18:57:31Z","updated_at":"2015-04-02T18:57:31Z","body":"@es128 will be watching on them. "}}