Skip to content

Commit

Permalink
fix: #85 closing gulp watch didn't close tsc process
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed May 25, 2018
1 parent da28e0c commit 4b3a7c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gulpfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ function die() {
process.exit(1)
}

process.on("SIGINT", die)
process.on("SIGTERM", die)

gulp.task("add-version-files", (cb) => {
const gardenBinPath = join(destDir, "src", "bin", "garden.js")
const proc = _spawn("node", [gardenBinPath, "scan", "--output=json"])
Expand Down

0 comments on commit 4b3a7c4

Please sign in to comment.