lightningcss
lightningcss copied to clipboard
Consider adding --watch to the cli
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.
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.
+1 for this idea. Would make iterating a joy!