I am getting this error and after troubleshooting it turns out it comes from a director with a dot in it's name that seems to be mistaken for a file.
{ type: 'add',
path: 'node_modules/gulp-autoprefixer/node_modules/postcss/d.ts',
initPhase: true,
opTreeIndex: 1,
basePath: 'content',
createTime: Thu Apr 14 2016 17:20:45 GMT+0200 (CEST) }
Error: EISDIR: illegal operation on a directory, read
at Error (native)
at Object.fs.readSync (fs.js:603:19)
at fs.readFileSync (fs.js:438:24)
at new _default (/sigh/node_modules/sigh-core/src/Event.js:1:22)
at newEvent (/sigh/src/plugin/glob.js:25:12)
at /sigh/src/plugin/glob.js:45:16
at Array.map (native)
at /sigh/src/plugin/glob.js:43:34
I am getting this error and after troubleshooting it turns out it comes from a director with a dot in it's name that seems to be mistaken for a file.