ananthakumaran / tide

Tide - TypeScript Interactive Development Environment for Emacs
GNU General Public License v3.0
1.46k stars 109 forks source link

Add tide-node-flags customizable variable #410

Closed jomi-se closed 3 years ago

jomi-se commented 3 years ago

Useful for large TypeScript codebases which need to set max-old-space-size to a higher value.

I have a large codebase that doesn't compile with the default value (😭 ) so the tsserver process crashes from time to time. This PR allows passing custom flags to the node process to change max-old-space-size (or whatever other flag).

Would you consider merging this?

Btw, massive thanks for tide 🙏

josteink commented 3 years ago

LGTM.

jomi-se commented 3 years ago

Thank you!