{"action":"created","issue":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/999","labels_url":"https://api.github.com/repos/gulpjs/gulp/issues/999/labels{/name}","comments_url":"https://api.github.com/repos/gulpjs/gulp/issues/999/comments","events_url":"https://api.github.com/repos/gulpjs/gulp/issues/999/events","html_url":"https://github.com/gulpjs/gulp/issues/999","id":66006076,"number":999,"title":"(gulp.watch): Issue with new opt-in symlink","user":{"login":"vikrantpogula","id":2432643,"avatar_url":"https://avatars.githubusercontent.com/u/2432643?v=3","gravatar_id":"","url":"https://api.github.com/users/vikrantpogula","html_url":"https://github.com/vikrantpogula","followers_url":"https://api.github.com/users/vikrantpogula/followers","following_url":"https://api.github.com/users/vikrantpogula/following{/other_user}","gists_url":"https://api.github.com/users/vikrantpogula/gists{/gist_id}","starred_url":"https://api.github.com/users/vikrantpogula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikrantpogula/subscriptions","organizations_url":"https://api.github.com/users/vikrantpogula/orgs","repos_url":"https://api.github.com/users/vikrantpogula/repos","events_url":"https://api.github.com/users/vikrantpogula/events{/privacy}","received_events_url":"https://api.github.com/users/vikrantpogula/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-02T20:31:31Z","updated_at":"2015-04-02T20:58:04Z","closed_at":null,"body":"I think the new opt-in symlink is not usable with gulp.watch. Other tasks seem fine after adding `{follow: true}`, but gulp watch doesn't trigger its task when I provide `{follow: true}`. I have illustrated my gulpfile below\r\n\r\nCurrently doesn't trigger the task 'refresh:scripts'\r\n```\r\nvar watcher = gulp.watch([\r\n  _settings.APP_PATH+'/**/*.js',\r\n  _settings.APP_PATH+'/**/*.jsx',\r\n], {follow:true}, 'refresh:scripts')\r\n```\r\n\r\nRaises Error now, but used to work fine (would watch and trigger 'refresh:scripts')\r\n```\r\nvar watcher = gulp.watch([\r\n  _settings.APP_PATH+'/**/*.js',\r\n  _settings.APP_PATH+'/**/*.jsx',\r\n], 'refresh:scripts')\r\n\r\nTypeError: Arguments to path.resolve must be strings\r\n```\r\n\r\nThis used to work fine with `4.0` before the `opt-in symlink following for blobs`.  "},"comment":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/comments/89042845","html_url":"https://github.com/gulpjs/gulp/issues/999#issuecomment-89042845","issue_url":"https://api.github.com/repos/gulpjs/gulp/issues/999","id":89042845,"user":{"login":"vikrantpogula","id":2432643,"avatar_url":"https://avatars.githubusercontent.com/u/2432643?v=3","gravatar_id":"","url":"https://api.github.com/users/vikrantpogula","html_url":"https://github.com/vikrantpogula","followers_url":"https://api.github.com/users/vikrantpogula/followers","following_url":"https://api.github.com/users/vikrantpogula/following{/other_user}","gists_url":"https://api.github.com/users/vikrantpogula/gists{/gist_id}","starred_url":"https://api.github.com/users/vikrantpogula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikrantpogula/subscriptions","organizations_url":"https://api.github.com/users/vikrantpogula/orgs","repos_url":"https://api.github.com/users/vikrantpogula/repos","events_url":"https://api.github.com/users/vikrantpogula/events{/privacy}","received_events_url":"https://api.github.com/users/vikrantpogula/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T20:58:04Z","updated_at":"2015-04-02T20:58:04Z","body":"I just thought so because the actual files I am watching in this particular case are actually symlinks !"}}