Share your repls and programming experiences

← Back to all posts
Realtime file updates
amasad (3267) now will sync your files in realtime. It even has a neat little cursor for when the system is giving you file updates 🤯

Try forking this repl, running it, and going to henlo.txt to see it in action:

eankeen (1951)

awesome! this is a monumental feature

KeaganLandfried (34)

I've been waiting for this feature for years... literally!! Thank-you!

Septem151 (1)

So something in this update may have changed, because I'm unable to even create files in Java programs. It apparently gets created because subsequent calls to "createNewFile()" indicates that the file already exists, but upon refreshing the page it creates the file again as if it never existed. During the whole time, there is no file (or folder) present in the left-hand window.

amasad (3267)

@Septem151 hey there. Can you share the program that you're speaking about?

Septem151 (1)

It’s affecting multiple repls, but this one prints whether the file is created or not.

amasad (3267)

@Septem151 Ok, we'll debug and get back to you.

AllAwesome497 (378)

So does this mean that editing files through repl may soon become stable?

amasad (3267)

@AllAwesome497 everything, overall should be a lot more stable today than it used to be. But, tell me, what exactly in your experience is not stable ?

AllAwesome497 (378)

@amasad Tested, and it is still an issue, (at least using the python method)
here is an example:
Also sorry for the delayed response I had to write that script and I couldn't remember how to do it as its been a while since I have.
Edit: also forgot to mention, it also still doesn't update it live in python.

amasad (3267)

@AllAwesome497 that is a bug. We're looking into it.

With regards to realtime file updates it does actually work in Python. Try this:

AllAwesome497 (378)

@amasad Neat ok. Even if we can't use files as databases.

theangryepicbanana (1692)

Yaaaay been waiting for this

Kognise (434)

Wow! Super useful, especially for debugging file write operations :)