(Solved) Files are disappearing from directory on refresh


I’m working on a project that involves logging a user’s IP and a submission they made to two json files (logs-submission.json, logs-post.json). I imported this project from GitHub without these two files (because I stopped tracking them on my local repository). When I try to add them back, they get added, but they immediately disappear when I run “refresh” in the Glitch console.

Does anyone know why this is happening and how I can fix it? I need these two files.


The files are probably still there, but the editor isn’t displaying them. You can check by going to the project console and doing an ls. Reasons files might not show up: http://help-center.glitch.me/help/hidden-files/


Removing those files from .gitignore did it. Thanks so much! I forgot I ignored those files.