A
A
andrewnsk2018-02-14 18:14:50
css
andrewnsk, 2018-02-14 18:14:50

Is there a script (program) that can change the less file when the css compiled by it changes?

For example, I compiled css from less.

less
.container-div{
padding: 20px;
    a{
        color: red;
    }
}

After compilation we get
сss
.container-div{
padding: 20px;
}
.container-div  a{
   color: red;
}

Now changed the padding of .container-div
сss
.container-div{
padding: 25px;
}
.container-div  a{
   color: red;
}

The script is run, finds this change and changes the less file
less
.container-div{
padding: 25px;
    a{
        color: red;
    }
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question