In watch.json
But i dont want when i change something in my program then reload console
I just want to reload console without change something in my program
Plzz help me
Do you mean run a console command from your discord bot command that would restart the project from the projects console.
If that is the case, then you can TRY the following:
function execute(command) {
const exec = require('child_process').exec
exec(command, (err, stdout, stderr) => {
process.stdout.write(stdout)
})
}
execute( "Code to execute")