Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: lazy-load repl to avoid domain side effects (#2025)
* fix: lazy-load repl to avoid domain side effects Actually starting the repl will still put the process into domain-mode, but this at least allows programs to use `ts-node` or `--loader=ts-node/esm` without losing the ability to use process.setUncaughtExceptionCaptureCallback(). The problem should ideally be fixed (or mitigated) in node core, but this is still worthwhile for the benefit of supporting current node versions. Re: nodejs/node#48131 Fix: #2024 * Update src/repl.ts --------- Co-authored-by: Andrew Bradley <cspotcode@gmail.com>
- Loading branch information