running npm run prod in production

Posted 1 month ago by Gabotronix

Hi everybody, I have a few production apps in my DO VPS, I have laravel-mix versioning enabled but I have noticed the nly way for my css to be updated instead of showing the ld css design is to run npm run prod in my ubuntu server, I have a few questions regarding this:

-1) Why do I have to do npm run prod for my webs to show updated design instead of cached one (this is particulary stinky in mobile chrome).

-2) Is running npm run prd in prduction a good idea, I don't want to cause a mess.

I'm also a lon developer/learner so I don't work in a team, just in case.

Please sign in or create an account to participate in this conversation.