if you do
mkfifo fifo
and have the bad luck of opening it in the editor, the ‘watcher’ service will try to fs.readFileSync
it, freezing forever.
y’all, make sure it’s gitignore’d if you’re gonna have weird files in your project
recovering from the extraordinarily unlucky case where the fifo is alphabetically first and is thus the default file that the editor opens:
- use ctrl+shift+x to open the terminal panel (you can do this even when the editor is stuck loading), open the terminal in a new window
- close all editors and tabs of the project’s site
- wait for glitch to force shut down the project container, which could take a few minutes
- reload the terminal, which causes glitch to start the project container again
- you’ll have a few seconds to delete the named pipe if you created it manually, or reconfigure your project not to create it automatically. or to ignore it. or to create a file even earlier in the alphabet. or whatever you can come up with