Run file on worker start

How does one run a specific file when a worker starts up?
3 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
valkyrie_pilot
valkyrie_pilotOP2y ago
Any sort of custom code- in this case the rest of my code is TS, so i'd rather use that
justboereh
justboereh2y ago
You’ll probably need an executable that can run the file, and use like a command line process thing to run it, e.g. child_process for Node.
Want results from more Discord servers?
Add your server