hfour / hfour/wsrun

optionally disable cycle detection

Open
#65 9 comments 4 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
512
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Please provide option to disable cycle detection.

I'm using yarn workspaces in two projects written in typescript where they reference each other.
It works okay if I use `ts-node` to:
- first make an in-memory compilation of the code
- and only afterwards build a JS libraries using `rollup`
It doesn't produce a dead loop, but `wsrun` throws an error even why I don't specify `--recursive` option.

Could be done by wrapping this block with new option, like `--no-cycle-detection`
https://github.com/hfour/wsrun/blob/7fa4c23aa99f7f9056308e816e276cb3154a3ea9/src/index.ts#L221

Please let me know if you want me to do a PR.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.