Creating a file named 'views' leads to "Hmm.. We're having trouble connecting. Try refreshing?"


#1

This is a small repro of a bug in the Glitch editor.

  1. Create a file named views.
  2. Create a file named views/test.html.
  3. Try to edit views/test.html, and you’ll end up with an error reading: “Hmm… We’re having trouble connecting. Try Refreshing”, as seen in this screenshot.

I did step 1. because I really wanted a directory named views, and I forgot that Glitch would auto-create directories. So I accidentally created a file instead.

(These details are also at https://glitch.com/edit/#!/lively-attic?path=README.md:7:164, which is a project that experienced the bug. Feel free to check that server’s logs.)


#2

Thanks for reporting this, and sorry for the slow response. It’s a known issue with our current file system. We’re considering other options but there’s a number of pros/cons to weigh. We hope we can fix this up soon.