Run code on server startup #3657
Unanswered
ricardobeat
asked this question in
Q&A
Replies: 1 comment
-
have you tried run it in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using
adapter-node
, is there a way to run code on server startup?I'm trying to add Datadog integration for monitoring the service, so far the only viable approach seems to be to wrap the build in my own server.js, which I'd like to avoid if possible - the code is straightforward, but requires installing that server's dependencies separately since it's not in the build folder, and this makes deployment much longer.
Beta Was this translation helpful? Give feedback.
All reactions