title: how to watch symlinks with gulp?
body: <p>I'd like to watch changes in vendor/bower to kick off a build process - I am also running <code>bower link</code> which will symlink a package to local source. </p>
  
  <p>However, when gulp attempts to watch this directory, it fails to walk the symlink created by <code>bower link</code>.</p>
  
  <pre><code>var bowerAssets ='vendor/javascripts/my_symlinked_package/**/*.js';
  if(bowerAssets){
    gulp.watch(bowerAssets, ['buildAssets']);
  }
  </code></pre>
  
  <p>From the log, I receive the following</p>
  
  <blockquote>
    <p>2015-02-19 13:16 gulp[81305] (FSEvents.framework) FSEventStreamStart:
    register_with_server: ERROR: f2d_register_rpc() => (null) (-21)</p>
  </blockquote>
  
  <p>I have read through several issues on git and the error appears to be due to dependency on glob which does not support walking of symlinks - <a href="https://stackoverflow.com/questions/9364514/how-to-watch-symlinked-files-in-node-js-using-watchfile">How to watch symlink&#39;ed files in node.js using watchFile()</a> looks promising, but I am having trouble getting the code to play nicely with gulp. </p>
  
  <p>How can I successfully watch symlinked directories for changes via gulp?</p>