Skip to content

(gulp.watch): Issue with new opt-in symlink #999

@vikrantpogula

Description

@vikrantpogula

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

Currently doesn't trigger the task 'refresh:scripts'

var watcher = gulp.watch([
  _settings.APP_PATH+'/**/*.js',
  _settings.APP_PATH+'/**/*.jsx',
], {follow:true}, 'refresh:scripts')

Raises Error now, but used to work fine (would watch and trigger 'refresh:scripts')

var watcher = gulp.watch([
  _settings.APP_PATH+'/**/*.js',
  _settings.APP_PATH+'/**/*.jsx',
], 'refresh:scripts')

TypeError: Arguments to path.resolve must be strings

This used to work fine with 4.0 before the opt-in symlink following for blobs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions