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
I am currently building an Electron app. I use it throughout the day so I leave it running, installed in Mac's Applications folder, I'll refer to this as Prod App. When I develop the app, I run vite --force to start the dev mode, I'll refer to this as Dev App. I've noticed, that if Prod App is running when I start dev, the Prod App will be brought forward, but the Dev App will never launch. If I close the Prod App, run vite --force, I get the Dev App to show. There are no errors. I've narrowed this down to productName field in the package.json being the same for both Prod App and Dev App. What is the recommended way to have unique names for both apps?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am currently building an Electron app. I use it throughout the day so I leave it running, installed in Mac's Applications folder, I'll refer to this as
Prod App
. When I develop the app, I runvite --force
to start the dev mode, I'll refer to this asDev App
. I've noticed, that ifProd App
is running when I start dev, theProd App
will be brought forward, but theDev App
will never launch. If I close theProd App
, runvite --force
, I get theDev App
to show. There are no errors. I've narrowed this down toproductName
field in the package.json being the same for bothProd App
andDev App
. What is the recommended way to have unique names for both apps?Beta Was this translation helpful? Give feedback.
All reactions