diff --git a/index.js b/index.js index a5f7a47..af6de15 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ -// 1: node ".\index.js" --trace-deprecation +// 1: nodemon ".\index.js" --trace-deprecation // 2: node "".\deploy-commands.js" // https://discordjs.guide/creating-your-bot/, https://github.com/FiredragonPlayz/discord.js-tutorials diff --git a/index_web.js b/index_web.js index a92eb4a..4e7bcd4 100644 --- a/index_web.js +++ b/index_web.js @@ -1,8 +1,8 @@ -// node ".\index_web.js" // https://github.com/zekroTutorials/DiscordWebsocket // npm i discord.js express express-handlebars body-parser nodemon // git update-index --assume-unchanged config_web.json +// nodemon ".\index_web.js" // http://localhost:5665/?token=123456 //const { Client } = require('discord.js'); diff --git a/package.json b/package.json index 1029835..be0a115 100644 --- a/package.json +++ b/package.json @@ -25,5 +25,9 @@ "bugs": { "url": "https://github.com/SS13HUB/digital-cartographer/issues" }, - "homepage": "https://github.com/SS13HUB/digital-cartographer#readme" + "homepage": "https://github.com/SS13HUB/digital-cartographer#readme", + "nodemonConfig": { + "ignore": ["test/*", "docs/*"], + "delay": 2500 + } }