diff --git a/server/dev-server.js b/server/dev-server.js index 2b8bdae3..bc046be2 100644 --- a/server/dev-server.js +++ b/server/dev-server.js @@ -1,7 +1,7 @@ import { execa } from 'execa' if (process.env.NODE_ENV === 'production') { - await import('./index.js') + await import('../server-build/index.js') } else { const command = 'tsx watch --clear-screen=false --ignore ".cache/**" --ignore "app/**" --ignore "vite.config.ts.timestamp-*" --ignore "build/**" --ignore "node_modules/**" --inspect ./index.js'