run command on prod
Unanswered
Alisher posted this in #help-forum
AlisherOP
hello everyone I watched this video https://www.youtube.com/watch?v=zWRBobemogk and the project is done but when I deploy it on versel I have an issue with my command npx tsx index.ts not working when I send a message after create topic this not updating in realtime so what i need to do my command work on deployed project?
2 Replies
@Alisher hello everyone I watched this video https://www.youtube.com/watch?v=zWRBobemogk and the project is done but when I deploy it on versel I have an issue with my command npx tsx index.ts not working when I send a message after create topic this not updating in realtime so what i need to do my command work on deployed project?
vercel itself is a serverless enviorement. So having realtime connections is only possible with a serverfull enviorement. For that you can rent a server (VPS) and run your connections there
AlisherOP
@B33fb0n3 thank you you salve my problem