tmodjs
tmodjs copied to clipboard
watch模式中经常中断
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___jb_bak__'
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.
在 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 糖饼 [email protected]:
在 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,接下来只好想办法绕开