RFC: reuse existing process
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 44.7k
- Forks
- 3.6k
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
For people that have many terminals open at the same time (hi 👋), creating a new process each time is not practical given Electron's overhead, both in terms of startup time and memory footprint.
One way to do this would be to have a config, say reuseMainProcess. So when hyper is invoked it'll find an existing instance and, if present, send a "new window" command to it.
IMO this should be enabled by default since it makes hyper much more responsive and lightweight
Wondering if this has been floated around before, and if not, what you guys think?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating how Hyper is invoked and how Electron creates its main process, then investigate whether an existing instance can receive a new-window command. Done would require an agreed configuration behavior, default setting, and validation of reuse across repeated launches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100