You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I enable the tailwindcss-intellisense extension and launch VS Code in a project directory that does not have any TailwindCSS code (AFAIK) the extension spawns a rg process that uses 1000%+ CPU.
This project is an private one that I use to manage container apps on my workstation. It has a data directory that container applications like home assistant, paperless, gitea etc use as volume mounts.
jdoss@sw-0608:~/.../projects/data$ ls -lahtotal 4.0Kdrwxr-xr-x. 1 jdoss jdoss 278 Jun 18 13:00 .drwxrwxr-x. 1 jdoss jdoss 122 Jun 18 13:05 ..drwxr-xr-x. 1 jdoss jdoss 44 May 6 10:08 corednsdrwxr-xr-x. 1 jdoss jdoss 18 May 10 16:17 echoserverdrwxr-xr-x. 1 jdoss jdoss 44 May 6 10:22 gitea-rw-r--r--. 1 jdoss jdoss 14 Jun 18 13:00 .gitignoredrwxr-xr-x. 1 jdoss jdoss 72 May 6 16:06 homeassistantdrwxr-xr-x. 1 jdoss jdoss 50 May 6 16:44 jellyfindrwxr-xr-x. 1 jdoss jdoss 184 May 8 12:02 lamedrwxr-xr-x. 1 jdoss jdoss 34 May 7 12:27 n8ndrwxr-xr-x. 1 jdoss jdoss 146 May 7 15:18 paperlessdrwxr-xr-x. 1 jdoss jdoss 46 May 6 15:07 stepcadrwxr-xr-x. 1 jdoss jdoss 90 May 9 15:20 temporaldrwxr-xr-x. 1 jdoss jdoss 248 Jun 21 16:38 traefikdrwxr-xr-x. 1 jdoss jdoss 26 May 8 00:14 vaultwardendrwxr-xr-x. 1 jdoss jdoss 80 May 8 02:15 windmill
Some of these projects do have .ts and .js files in this directory so maybe it is choking on watching all of those files? Maybe the extension should check for a tailwind config and only spawn the rg process if it knows that TailwindCSS is being used in the project root?
The text was updated successfully, but these errors were encountered:
It's not open source (that I can see) so I don't know exactly what they did to fix it but one of the comments gave me potential ideas to go on. I'll see what I can come up with.
If you take that manual rg command from ps and run it yourself in the same working directory without the --follow flag does it complete quickly?
Do you know what kind of mounts you are using in Docker? Are they actual volume mounts, bindfs, or something else?
What storage driver are the mounts using?
You're on an NVMe SSD so I doubt drive speed is not even remotely in play here. I wonder if Docker is doing something weird with those directories that causes directory listing and/or other file operations to slow down.
What version of VS Code are you using?
What version of Tailwind CSS IntelliSense are you using?
v0.10.5
What version of Tailwind CSS are you using?
No tailwind in my current project.
What package manager are you using?
n/a
What operating system are you using?
Fedora Linux 40 with
/home
as a BTRFS subvolume on a local NVMe drive.Tailwind config
N/A
VS Code settings
Describe your issue
If I enable the tailwindcss-intellisense extension and launch VS Code in a project directory that does not have any TailwindCSS code (AFAIK) the extension spawns a
rg
process that uses 1000%+ CPU.This project is an private one that I use to manage container apps on my workstation. It has a data directory that container applications like home assistant, paperless, gitea etc use as volume mounts.
Some of these projects do have
.ts
and.js
files in this directory so maybe it is choking on watching all of those files? Maybe the extension should check for a tailwind config and only spawn therg
process if it knows that TailwindCSS is being used in the project root?The text was updated successfully, but these errors were encountered: