Skip to content

Commit a323ba8

Browse files
author
Jared Palmer
committed
Fix #19. Add node debug support.
1 parent 1b82f47 commit a323ba8

File tree

1 file changed

+1
-1
lines changed
  • packages/backpack-core/bin

1 file changed

+1
-1
lines changed

packages/backpack-core/bin/dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const startServer = () => {
3232
const serverPaths = Object
3333
.keys(serverCompiler.options.entry)
3434
.map(entry => path.join(serverCompiler.options.output.path, `${entry}.js`))
35-
nodemon({ script: serverPaths[0], watch: serverPaths, flags: [] })
35+
nodemon({ script: serverPaths[0], watch: serverPaths, nodeArgs: process.argv.slice(2) })
3636
.on('quit', process.exit)
3737
}
3838

0 commit comments

Comments
 (0)