Skip to content

Commit

Permalink
fix path to production build
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed May 27, 2024
1 parent c7c07d5 commit b26b673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/dev-server.js
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit b26b673

Please sign in to comment.