Skip to content

Commit

Permalink
๐Ÿงฟ ๐šƒ๐š‘๐šŽ ๐™ผ๐šข๐šœ๐š๐š’๐šŒ - ๐™ฑ๐š˜๐š ๐Ÿ”ฎ
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoSobrino authored Aug 4, 2022
1 parent 6de773c commit 7110be0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ break }})
p.on('exit', (_, code) => {
isRunning = false
console.error('โŽใ…คOcurrio un error inesperado:', code)

p.process.kill()
isRunning = false
start.apply(this, arguments)

if (code === 0) return
watchFile(args[0], () => {
unwatchFile(args[0])
Expand Down

0 comments on commit 7110be0

Please sign in to comment.