Open weishiji opened 10 years ago
在 WebStorm 这个 IDE 下有这个 BUG,我缺乏环境,能否帮忙定位下?
应该是这一句造成的:
/home/lxg/www/tol-web/protected/vendor/webtemplate/node_modules/tmodjs/src/tmod.js:391:27
这个会和IDE有关系啊?我怎么定位这个错误,在391行打印一下stat.isDirectory()的输出?
2014-07-11 18:02 GMT+08:00 糖饼 notifications@github.com:
在 WebStorm 这个 IDE 下有这个 BUG,我缺乏环境,能否帮忙定位下?
应该是这一句造成的:
/home/lxg/www/tol-web/protected/vendor/webtemplate/node_modules/tmodjs/src/tmod.js:391:27
— Reply to this email directly or view it on GitHub https://github.com/aui/tmodjs/issues/40#issuecomment-48713784.
姓名:刘小光 电话:18610078527
我觉的是IDE的频繁操作所导致的 WEBSTORM会实时保存,很多WATCH的NODE和他协作都有问题
我之前定位过这个问题,一直怀疑是 NodeJS 的 bug,接下来只好想办法绕开
fs.js:689 return binding.stat(pathModule._makeLong(path)); ^ Error: ENOENT, no such file or directory '/home/lxg/www/tol-web/protected/vendor/webtemplate/templates/config/template-helper.js_jbbak' at Object.fs.statSync (fs.js:689:18) at EventEmitter.Tmod.filter (/home/lxg/www/tol-web/protected/vendor/webtemplate/node_modules/tmodjs/src/tmod.js:391:27) at EventEmitter. (/home/lxg/www/tol-web/protected/vendor/webtemplate/node_modules/tmodjs/src/tmod.js:82:29)
at FSWatcher. (/home/lxg/www/tol-web/protected/vendor/webtemplate/node_modules/tmodjs/src/watch.js:53:14)
at FSWatcher.emit (events.js:98:17)
at FSEvent.FSWatcher._handle.onchange (fs.js:1044:12)