Config.json disapperaing


#1

So im creating a discord bot, when i create a config.json file, it always disappear when i refresh the page

Any ideas why is that?


#2

There are a few possible reasons (https://glitch.com/help/hidden-files/). To check - are you creating it in a particular directory? Do you have a .gitignore file in your project that lists it? Thanks.


#3

i do have a .gitignore file, is that the reason it’s disappearing?


#4

What is the contents of it?


#5

Yes, files that are .gitignored will disappear from the editor when your project restarts. You can still access them through the console (accessed through the logs view).