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
runs a webpack compilation which takes 2-3 minutes on a small VPS, causing downtime on redeploy.
I see the medusa build command which creates a dist and build folder.
Is there a way to run precompiled medusa using something like node ./dist/index.js ? I see that index.js is empty after compilation as I don't have any custom handlers or listeners, but I'm curious to find another way to start the backend without compiling it.
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
-
Hi 👋
runs a webpack compilation which takes 2-3 minutes on a small VPS, causing downtime on redeploy.
I see the
medusa build
command which creates adist
andbuild
folder.Is there a way to run precompiled medusa using something like
node ./dist/index.js
? I see thatindex.js
is empty after compilation as I don't have any custom handlers or listeners, but I'm curious to find another way to start the backend without compiling it.Thanks !
Beta Was this translation helpful? Give feedback.
All reactions