webstorm/Intellij typescript indexing is slow while Panda is compiling #1937
Replies: 1 comment
-
hey ! saw your tweet first so I answered there but I'll answer here as well: iirc webstorm doesn't use tsc itself, maybe that can explain the slight differences with vscode (suggestions / unresponsiveness)
-> Panda only re-generates the outdir (styled-system by default) files affecteds by a config change one thing that could help is to switch to the CLI instead of using the postcss plugin, as we can't control precisely when it will be re-run again as it mostly depends on the host bundler's implementation (vite / webpack (next) / etc) whereas in the CLI we directly watch the filesystem, so it should only re-run when needed |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Somewhat related to the other discussion about the slow compilation. My compilation is not as slow
but what is very noticable is that when I change a single line of code and Panda does compilation, types hints and autocomplete doesn't work in Webstorm until the compilation finishes. Not sure if anything can be done. Also I noticed that it compiles even when I changed the code that is not really related to panda or styles, so maybe there's a way to adjust filtering of the watcher?
for the record I use postcss, ark and park-ui in nextjs
Beta Was this translation helpful? Give feedback.
All reactions