Help! fs.statSync not working & file not showing on

Hey there - trying to get the age of a cached file but I can’t get fs.statSync to work. Help :slight_smile:

On on related note, my code writes out a file at __dirname + ‘/public/ical.ics’ and it seems to be on the server, but never appears in the file listing on the left side of the edit screen. Why?



I can see the file in the filetree and there’s no error in a remix - looks like you got things fixed up?