You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since updating to vinyl-fs version 3.x, I'm getting the error file.isSymbolic is not a function.
After some investigation, it seems to be caused by an outdated vinyl version in gulp-watch. Could you please update vinyl to 2.1.0?
For now, i'm using a workaround:
/**
* gulp-watch uses an outdated vinyl, which doesn't have some functions which vinyl-fs expects.
* Can be removed when gulp-watch updates it to vinyl 2.x.
* @returns {NodeJS.ReadWriteStream}
*/
function upgradeVinylFile(): NodeJS.ReadWriteStream {
return through.obj(function(file: any, encoding: string, cb: through.TransformCallback): void {
const upgradedFile = new File(file);
cb(null, upgradedFile);
});
}
The text was updated successfully, but these errors were encountered:
Since updating to vinyl-fs version 3.x, I'm getting the error file.isSymbolic is not a function.
After some investigation, it seems to be caused by an outdated vinyl version in gulp-watch. Could you please update vinyl to 2.1.0?
For now, i'm using a workaround:
The text was updated successfully, but these errors were encountered: