问答详情
源自:2-3 Chrome调试LESS样式

wr报错怎么弄

http://img.mukewang.com/55640ec90001927006760231.jpg

监听的是2个东西,改变less还会报错,是什么问题那

提问者:慕村1564197 2015-05-26 14:13

个回答

  • techird
    2015-05-27 23:13:17

    wr 参数后面跟的命令使用双引号引起来的,试试这样:

    wr "lessc duang.less duang.css" duang.les

  • 夏浅浅Sarah
    2015-08-11 12:33:45

    保存时报错解决办法:

    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


  • hwl2016
    2015-08-09 14:36:56

    我的也是,老师怎么解决……

  • wilon
    2015-07-28 01:35:34

    我的也是啊。。。怎么解决啊。。请各位大侠指教。百度了半天也没解决

  • 慕村1564197
    2015-07-09 10:42:18

    老师那,老师死出来

  • 我屋园园
    2015-07-07 10:52:55

    出现同样错误求解

  • 简单明了
    2015-07-04 15:10:01

    我的也是,搞不定啊

  • Chase
    2015-06-22 13:26:43

    window下输入命令 可以watch成功,但是一改变less 保存就报错。

  • meta_d
    2015-05-31 22:20:41

    http://img.mukewang.com/556b18560001d8ad07180357.jpg

    太扯淡老师,我这里是双引号仍然报错啊