Skip to content

tsdown crashes my mbp m4 max #929

@jpzwarte

Description

@jpzwarte

Reproduction link or steps

  1. Clone https://github.com/sl-design-system/components/tree/maintenance/3184-replace-esbuild-with-tsdown
  2. Run yarn install (you may need a fontawesome token; ask me on discord)
  3. Run tsdown -c packages/components/tsdown.config.mjs
  4. Watch it spawn a huge amount of tsgo processes and after a while, macOS crashes
Image

What is expected?

I expect it to not crash.

What is actually happening?

I'm guessing here, but i assume there is no limit to the amount of subprocesses that can be spawned. In this case i'm running tsdown with the workspace option, which is probably causing too many subprocesses.

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions