基于grunt-jade 跑在grunt上的任务,jade一出错grunt的watch任务就挂断了,怎么解决?
grunt-jade
grunt
jade
watch
try{…}catch(){}
要是异步函数里面出错这个无效吧
@neuront 异步函数里也try catch啊,总之不要让异常抛到最外层的node
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
try{…}catch(){}
要是异步函数里面出错这个无效吧
@neuront 异步函数里也try catch啊,总之不要让异常抛到最外层的node