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
since isDev is part of core, this is an issue with its integration in Vinxi.
I'll dig around and see where the fix should be (Vinxi or Solid) and I'll report back once I have an answer where this will/should be addressed.
I'm pretty sure this is functioning as intended. isDev is referencing the script that solid uses. In the browser it uses dev and on the server it uses server. This isn't actually detecting if your running SolidStart in dev mode. That is a Vinxi/SolidStart thing but isDev is a solid core thing.
Duplicates
Latest version
Current behavior 😯
Expected behavior 🤔
it should be true in both environments
the alternative i used is vite's
import.meta.env.DEV
which works more correctlySteps to reproduce 🕹
No response
Context 🔦
No response
Your environment 🌎
The text was updated successfully, but these errors were encountered: