I am using grunt tool for magento server-side less preprocessing.
I have created _extend.less file following directory structure for my custom less compilation
After all necessary configurations of grunt I managed to compile my own less files with the grunt command
Now everything works perfectly except when I am trying to add new .less file into _extend.less through @import directive grunt doesn't publish it's symlinks to
For example after I import _custom_button.less in _extend.less with
Now everytime I add new files with @import I have to run the commands.
grunt clean:themename grunt exec:themename
So this workflow is conflicting when working with developers as it cleans everything in pub\static\frontend\Magento\themename\en_US directory.So that is the problem.I don't want to run clean command again.
Can I do anything for that?