fix: Fix watch command in nodes-base (no-changelog) (#6895)

* fix: Fix `watch` command in nodes-base (no-changelog)

* Use `onCompilationComplete` to prevent non-node watch from erroring
This commit is contained in:
Iván Ovejero 2023-08-09 17:54:25 +02:00 committed by GitHub
parent 0e075c9cb5
commit 734d27fb7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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": [