慕村1564197
2015-05-26 14:13
监听的是2个东西,改变less还会报错,是什么问题那
wr 参数后面跟的命令使用双引号引起来的,试试这样:
wr "lessc duang.less duang.css" duang.les
保存时报错解决办法:
wr工具此时执行的是spawn,需要执行的是exec,正确的代码为:wr --exec "lessc duang.less duang.css" duang.less。详解如下:
exec:
the command will not be parsed, as will be run as given
should handle i/o redirection shell operators
stdout and stderr output will be buffered until the command is complete
spawn:
the command will be parsed into space separated tokens, probably misinterpreting any quotes you have in your command
will not handle i/o redirection shell operators
stdout and stderr output will not be buffered
详解来源:https://www.npmjs.com/package/wr
我的也是,老师怎么解决……
我的也是啊。。。怎么解决啊。。请各位大侠指教。百度了半天也没解决
老师那,老师死出来
出现同样错误求解
我的也是,搞不定啊
window下输入命令 可以watch成功,但是一改变less 保存就报错。
太扯淡老师,我这里是双引号仍然报错啊
SVG实现Tooltip气泡效果
27807 学习 · 48 问题
相似问题