Skip to main content

"Black Friday" Discount! Only until December 1st: 50% off all membership plans!

Read more here

npm run watch: Re-Compiling JS and Tailwind

Lesson 03/31 • 3:25
Mrzalais avatar

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"
},
👍 2