Batch file with two lessc commands, only one executes

221
June 13, 2017, at 03:44 AM

I have a batch file with two lessc commands. The first one execute, the second does not.

lessc --clean-css app.less app.min.css
lessc app.less app.css

How can I make both to run.

Running the batch file on Windows 10 with node.js and less installed.

Answer 1

I just added & after each command to chain them and it worked.

READ ALSO
Node js - convert pdf to a SINGLE image

Node js - convert pdf to a SINGLE image

I need to convert pdfs (which may contain > 1 page) to images using nodejs

294
read ReadStream multiple times

read ReadStream multiple times

I have a ReadStream that I wanna read multiple times

263
Material-UI can only update mounted or unmounted component

Material-UI can only update mounted or unmounted component

I know, there are many questions with this title, but i didn't find any solutionThe component is not using any ComponentWillMount, ComponentDidMount, etc

168
How to create append an array to a json value using(js/node/express)

How to create append an array to a json value using(js/node/express)

The quick overview is that using NodeJs(i'm learning), I'm trying to re-create a CRUD app that i did using php/mysql etc, that takes a users form information and stores it in a file called "sample-datajson"

265