Skip to content

Commit

Permalink
Only wait for close if script
Browse files Browse the repository at this point in the history
  • Loading branch information
porsager committed Sep 20, 2024
1 parent 5d23917 commit 7fad58b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/develop/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Watcher(() => api.node.restart('reload')).add('.env')
api.node.restart.observe(restart)
api.node.hotload.observe(hotload)

await closing
config.script && await closing

async function hotload(x) {
if (!node)
Expand Down

0 comments on commit 7fad58b

Please sign in to comment.