Replies: 2 comments
-
Btw is this related to this one? (I just found it) If so, I guess it is what it is. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Check this : 1: install tailwindcss locallynpm install -D tailwindcss 2: Add to package.json scripts"dev": "tailwindcss -i ./src/input.css -o ./src/output.css --watch" 3: Run with memory increaseNODE_OPTIONS="--max-old-space-size=4096" npm run dev |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure whether this belongs to npm or Tailwind, so forgive me.
Whenever I use
npx
to watch for changes in my Tailwind classes, after a few minutes it always throws an error like this:I know I can simply restart the command whenever it happens:
But it has become kind of annoying when I suddenly don’t see changes in the browser, only to find out that I ran out of memory.
Is there any solution for this?
I use tailwind 3.4.17 & npm 10.9.3
Beta Was this translation helpful? Give feedback.
All reactions