Closed bradrn closed 7 years ago
As of version 0.8, Threepenny tries to be more forthcoming about error messages. I get the following console messages:
[...]
Foreign.JavaScript: Browser window disconnected.
~/test.txt: openFile: does not exist (No such file or directory)
In other words, your code throws an exception. This is because a directory named "~" does not exist — Shells like bash
or csh
will treat this character as the user's home directory, but it's not an actual directory in the file tree.
Which version of Threepenny did you use? If it's 0.8 or higher, then the exception message should be there.
Thank you!
When I try to save a file, I get a
ConnectionClosed
error. Here's my code:And the console log: