DEV Community

Discussion on: SOS! CSS is eating my timeline!

Collapse
 
readredready profile image
Charles Gibson

Can anyone speak to the "live editing" capacity of Tailwind?

I like to be able to see my edits visually as I do them, is that possible with Tailwind? My understanding is that a stylesheet has to be generated with scripts, so would I have to make my edits, run a script, then see my edits?

It wouldn't be a dealbreaker, but it is a factor.

Collapse
 
khrome83 profile image
Zane Milakovic

Normally you use webpack or rollup with PostCSS and a dev server to see changes live. There are plenty of solutions that are less complicated, but watching changes is the common practice.

Collapse
 
uminer profile image
Moshe Uminer

You can use dev tools to edit the classes on an element, and the changes will show up immediately. You will still have to update your code afterwards, however. (But if you write your own, you would need to reload the style sheet to get the new styles).