Skip to content

是否应该在生产环境使用 ts-node 启动服务 #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
anandzhang opened this issue Jan 20, 2021 · 1 comment · Fixed by #84
Closed

是否应该在生产环境使用 ts-node 启动服务 #83

anandzhang opened this issue Jan 20, 2021 · 1 comment · Fixed by #84
Assignees
Labels
question Further information is requested

Comments

@anandzhang
Copy link
Owner

仓库 issue Should I use it in production?

TypeStrong/ts-node#104 (comment) 中提到加载类型信息是存在很大的开销,但是不应该影响性能,因为只有运行后占用内存。

@anandzhang anandzhang added the question Further information is requested label Jan 20, 2021
@anandzhang anandzhang self-assigned this Jan 20, 2021
@anandzhang
Copy link
Owner Author

既然存在内存开销进行类型检查,而生产环境的代码没有必要进行这个操作吧。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant