Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

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