apple2ts icon indicating copy to clipboard operation
apple2ts copied to clipboard

Watch files on disk for changes, and then reload

Open ct6502 opened this issue 1 year ago • 1 comments

Suggested by Cedric Beust on slack (and implemented in his emulator). Watch binary files (and also maybe woz, basic, or assembly files). If the file changes, reload in the emulator.

This might be possible in the "localhost" version - not sure if this can work properly on the apple2ts.com version. I think permissions will get in the way.

ct6502 avatar Jan 28 '24 15:01 ct6502

yop.... but, what about opening a folder rather than a file ? Of course, the browser will ask the user permission but once granted, you may have access to the dir. But no push mechanism here. I'm afraid you'll have to have a watcher running in the bkgnd "touching" regularly the files you wanna watch.

kktos avatar Jan 28 '24 16:01 kktos