Skip to content

Conversation

tjjfvi
Copy link
Contributor

@tjjfvi tjjfvi commented Mar 27, 2021

!ts can be rather slow; this moves the twoslasher function onto a child process so that the main functions of the bot continue to work while twoslash is doing its thing.

I had to update ts-node-dev as the old version had a bug wrt child_process.fork.

@tjjfvi
Copy link
Contributor Author

tjjfvi commented Mar 27, 2021

This is unreliable on my machine; gonna draft until I get it working reliably.

@tjjfvi tjjfvi marked this pull request as draft March 27, 2021 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant