ts-node, use tsc-watch instead.ts-node because it was never meant to be used for bots.ts-node is designed for REPL purposes. That's short for Read Eval Print Loop.eval() statement, print the result, and loop.watch flag of tsc (tsc --watch) and run node dist/index.js to run your bot, then cancel that process and restart it when you have changes that require restarting.tsc --watch and another in which you run the bot.tsc-watch.Join the Discord to ask follow-up questions and connect with the community
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,286 Members
Join