Skip to content

Support IPC in bun package.json script runner #11132

Closed
@yus-ham

Description

@yus-ham

What is the problem this feature would solve?

package.json

{ "scripts": { "mycoolscript":"bun ./child.js"}}

./child.js

process.send('hello')

parent.js

Bun.spawn(['bun', 'mycoolscript'], {
  ipc(message) {
    console.info(message) // hello
  }
})

What is the feature you are proposing to solve the problem?

Make bun script runner as IPC proxy

What alternatives have you considered?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueSomething that would be good for new contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions