You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, usage of both --watch and ts-node add extra overhead as there should be no requirement of ts-node and or watch.
As per this thread How to use ts-node in production, we should either use --transpile-only or even better have a prebuild step that precompiles all the typescript code into javascript. This will reduce the extra overhead ts-node and watch adds.
The text was updated successfully, but these errors were encountered:
unownone
added a commit
to unownone/GPTRouter
that referenced
this issue
Dec 14, 2023
Summary
Both Dockerfile and Dockerfile.ECS.Alpha refer to using
npm start
which in turn executes this script:Here, usage of both
--watch
andts-node
add extra overhead as there should be no requirement ofts-node
and orwatch
.As per this thread How to use ts-node in production, we should either use
--transpile-only
or even better have a prebuild step that precompiles all thetypescript
code intojavascript
. This will reduce the extra overheadts-node
andwatch
adds.The text was updated successfully, but these errors were encountered: