mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(node-dev): fix the custom node build command (#4148)
* fix(node-dev): fix the custom node build command also * wait for the build command to finish before logging the success message * use module relative paths for looking up `tsconfig` and `tsc` using `require.resolve` * copy over svg files as well * copy over the static files before the compilation step this makes sure that these files are also copied over with `--watch`
This commit is contained in:
committed by
GitHub
parent
e20982442b
commit
4d8c380bef
@@ -44,7 +44,7 @@ export class Build extends Command {
|
||||
|
||||
const outputDirectory = await buildFiles(options);
|
||||
|
||||
this.log(`The nodes got build and saved into the following folder:\n${outputDirectory}`);
|
||||
this.log(`The nodes got built and saved into the following folder:\n${outputDirectory}`);
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions, @typescript-eslint/no-unsafe-member-access
|
||||
this.log(`\nGOT ERROR: "${error.message}"`);
|
||||
|
||||
Reference in New Issue
Block a user