P
Prisma•3w ago
Cold

WebStorm issue - not recognizing Prisma client regeneration?

Hi everyone, I am working with Prisma via WebStorm on a TypeScript project. My main issue at the moment is that whenever I run npx prisma generate, it seems I have to restart my IDE for WebStorm to actually notice that the model has been regenerated and index the changes. Does anyone know of a workaround?
12 Replies
Nurul
Nurul•3w ago
Hello @Cold 👋 Prisma Webstorm extension is managed by the Webstorm team. I'll search if anyone else has reported this same issue. Does this happen on latest version of Prisma and Webstorm IDE?
DevPanda
DevPanda•3w ago
I have the same problem with Jetbrains. The solution is to put the output folders out of the node_modules
Cold
ColdOP•3w ago
Yep Surely this is not the only solution? This seems like a workaround that just creates unnecessary changes to .gitignore amongst other things
DevPanda
DevPanda•3w ago
No, Webstorm etc. reindex the node_modules folder only after an install or program start i hate it too, but i prefer intellij to vscode so i live with it
Cold
ColdOP•3w ago
How do I reindex that folder? Oh nvm I see what you're saying This honestly makes me tempted to give Fleet another go at this point
DevPanda
DevPanda•3w ago
sorry for my english
Cold
ColdOP•3w ago
No probs
DevPanda
DevPanda•3w ago
i dont know if it works in fleet
Cold
ColdOP•3w ago
I believe Prisma has a plugin for Fleet let me double check
DevPanda
DevPanda•3w ago
nope
Cold
ColdOP•3w ago
They don't? Shoot
DevPanda
DevPanda•3w ago
currently there is none yet
Want results from more Discord servers?
Add your server