Local-gateway build scripts made cross-platform
The local-gateway package's build scripts now use Node.js instead of Unix shell commands, enabling Windows developers to run builds without errors.
The local-gateway package's build scripts used Unix-specific commands like cp and shell backgrounding that fail on Windows. Build scripts now rely on Node.js file operations instead. Two new scripts handle copying assets and renderer files using fs.cpSync and fs.copyFileSync. The dev workflow also switches from shell backgrounding with & to the concurrently package for running TypeScript watchers in parallel.
Developers on Windows can now build and develop the local-gateway package without errors. The change is purely internal — no new features or behavior for end users, just improved tooling that works across operating systems.
View Original GitHub Description
Summary
Small fix to make the scripts work on windows, replaced cp with nodejs script
Related Linear tickets, Github issues, and Community forum posts
<!-- Include links to **Linear ticket** or Github issue or Community forum post. Important in order to close *automatically* and provide context to reviewers. https://linear.app/n8n/issue/ --> <!-- Use "closes #<issue-number>", "fixes #<issue-number>", or "resolves #<issue-number>" to automatically close issues when the PR is merged. -->Review / Merge checklist
- PR title and summary are descriptive. (conventions) <!-- **Remember, the title automatically goes into the changelog. Use `(no-changelog)` otherwise.** -->
- Docs updated or follow-up ticket created.
- Tests included. <!-- A bug is not considered fixed, unless a test is added to prevent it from happening again. A feature is not complete without tests. -->
- PR Labeled with
Backport to Beta,Backport to Stable, orBackport to v1(if the PR is an urgent fix that needs to be backported)