How do I run code once per server startup? #8694
-
I would like to run custom code that connects to a service anytime the server starts up. Is there a Remix equivalent to instrumentation? |
Beta Was this translation helpful? Give feedback.
Answered by
oluwatimilehin
Feb 7, 2024
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah thanks, I was using the Shopify app template and I had to put it in shopify.server.js.