Writing to .data file - no error, no content written


Hi there,

I’m trying to write to a .data directory with node fs module. I’ve tried programmatically creating the file and then writing to it and then manually creating the file and writing to it.

The events from the fs module are implying all is working (i.e. no error thrown) but when I look in the file there is nothing there. I’m using a csv file type.

Any advice appreciated.


Whenever a file is created by your project, you will have to reload the glitch editor to see the new file(s).


Hi @garethfoote, welcome to the Glitch forum!

It looks like you’ve resolved this - at least I see contents in the dated csv file for today. Let us know if you run into more problems!