While developing after running npm run dev, the less files are not rebuilt which finally is cumbersome to again and again run npm run less.
Fix
Add less-plugin in webpack-config so that it takes less code and spits css on each build process or simply exec npm run less command after each rebuild webpack performs.
Issue
While developing after running
npm run dev
, the less files are not rebuilt which finally is cumbersome to again and again runnpm run less
.Fix
Add
less-plugin
in webpack-config so that it takesless
code and spits css on each build process or simply execnpm run less
command after each rebuild webpack performs.