-1

When I do my Command nodemon src/index.js it comes out saying clean exit - waiting for changes before restart...

I tried changing my code a bunch of times and i expected the last message saying "[nodemon] starting node src/index.js" and nothing more.

here is my code:

const { Client, IntentsBitField} = require('discord.js');

const client = new Client({
  intents: [
    IntentsBitField.Flags.Guilds,
    IntentsBitField.Flags.GuildMembers,
    IntentsBitField.Flags.GuildMessages,
    IntentsBitField.Flags.MessageContent,
  ]
});

client.login(Ain't gonna show you this');
derpirscher
  • 14,418
  • 3
  • 18
  • 35
  • Clean exit means your node process stopped with an error code of 0 – derpirscher Aug 20 '23 at 21:44
  • 1
    Does this answer your question? [Problem running Nodemon: "\[nodemon\] clean exit - waiting for changes before restart"](https://stackoverflow.com/questions/69152810/problem-running-nodemon-nodemon-clean-exit-waiting-for-changes-before-rest) (or one of the [many others](https://stackoverflow.com/search?q=nodemon+clean+exit) — please search before asking to see if your question has already been answered!) – Zac Anger Aug 20 '23 at 21:45
  • What do you expect your code to do? It simply *did* exit after it was started. – Bergi Aug 20 '23 at 22:19

0 Answers0