lightningcss icon indicating copy to clipboard operation
lightningcss copied to clipboard

Consider adding --watch to the cli

Open Earlopain opened this issue 1 year ago • 2 comments

esbuild has --watch sass has --watch tsc has --watch

Usage is for development so that changes are immediatly reflected. I saw #126 which recommends an external tool like watchexec but that's something extra to install and other tooling has this functionality out of the box.

Earlopain avatar Oct 18 '23 19:10 Earlopain

Please add an watch/live reload feature in Lightning CSS which can work like this

lightningcss --watch bundle.css -o dist/style.css

When it runs, it will listen for changes being made and update these changes to the build file (In this case, dist/style,css).

Will be useful when using lightning for development.

trymeouteh avatar May 02 '24 20:05 trymeouteh

+1 for this idea. Would make iterating a joy!

splashsky avatar Jun 14 '24 01:06 splashsky