Skip to main content

npm run watch: Re-Compiling JS and Tailwind

Lesson 03/31 3:25
Autoplay

Comments & Discussion

M
Mrzalais ✓ Link copied!

If you are getting an error running npm run watch like so

npm ERR! Missing script: "watch"

you can add this script command in package.json under scripts

"scripts": {
...
"watch": "vite build --watch"
},

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.