Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

arashb's avatar

tailwind production

using vite on development i run "npm run dev" to have tailwind up and runnning on my local. now i have uploaded my project on a server overcloudways. how can i run tailwind?

0 likes
4 replies
Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

You run npm run build

1 like
arashb's avatar

@Sinnbeck every time i change some classes i have to rerun npm run build. is there a automated version that keeps track of the changes?

Sinnbeck's avatar

@arashb it's only when you deploy do I don't assume it's that often? Locally you just use npm run dev

If you are changing classes directly on the production server, then its best to stop and start developing locally :)

1 like
arashb's avatar

thank you, solved the problem!

1 like

Please or to participate in this conversation.