Skip to content

Commit

Permalink
fix: Fix watch command in nodes-base (no-changelog) (n8n-io#6895)
Browse files Browse the repository at this point in the history
* fix: Fix `watch` command in nodes-base (no-changelog)

* Use `onCompilationComplete` to prevent non-node watch from erroring
  • Loading branch information
ivov authored Aug 9, 2023
1 parent 0e075c9 commit 734d27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nodes-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"format": "prettier --write . --ignore-path ../../.prettierignore",
"lint": "eslint . --quiet --report-unused-disable-directives; node ./scripts/validate-load-options-methods.js",
"lintfix": "eslint . --fix --report-unused-disable-directives",
"watch": "tsc-watch -p tsconfig.build.json --onSuccess \"pnpm n8n-generate-ui-types\"",
"watch": "tsc-watch -p tsconfig.build.json --onCompilationComplete \"tsc-alias -p tsconfig.build.json\" --onSuccess \"pnpm n8n-generate-ui-types\"",
"test": "jest"
},
"files": [
Expand Down

0 comments on commit 734d27f

Please sign in to comment.