简体   繁体   中英

Grunt - Unable to compile less to css using grunt-contrib-less

I've a good feeling i am doing something extremely silly here but i am not sure what.

I am using grunt-contrib-less to compile less into css but it just doesn't seem to work at all. It shows no error or does anything and i am not sure why.

please find the JSBIN here - http://jsbin.com/hagavokige/edit?html,js

If you prefer Gist then - https://gist.github.com/ktkaushik/b3fc7aa4445e88c46bdf

I could really use some help here. I've been stuck at this one for long.

I am also using -

Using grunt v0.4.5

Using node v5.1.1

Using npm v3.312

update 1

There is NO output at all. I event added the --debug flag in the CLI but no luck.

Haha :)

rename your "less" task to different name like myLess, as it is running the main less tasks, so it is creating infinite loop

https://github.com/gruntjs/grunt-contrib-less/issues/279

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM