Skip to content

Exiting start process duplicates terminal output #3936

@erickzhao

Description

@erickzhao

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Forge version

v7.8.0

Electron version

36.0.0

Operating system

macOS Sequoia

Last known working Forge version

v6.0.0-beta.70

Expected behavior

When interrupting the start command, there should be no duplicate output.

Actual behavior

After pressing Ctrl + C, the terminal output

yarn start
yarn run v1.22.22
$ electron-forge start
✔ Checking your system
✔ Locating application
✔ Loading configuration
✔ Preparing native dependencies [0.1s]
✔ Generating assets

^C✔ Checking your system
✔ Locating application
✔ Loading configuration
✔ Preparing native dependencies [0.1s]
✔ Generating assets

Steps to reproduce

With any template, just npm start and press Ctrl + C to terminate the Forge process.

Additional information

This seems to be caused by our migration from async-ora to listr2 (#3022).

However, I'm unable to repro with Listr2's base examples, so I think the problem is with our implementation.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions