monome / maiden

web based editor and repl for norns
GNU General Public License v3.0
47 stars 34 forks source link

file rename occasionally fails to update browser file state #127

Closed ngwese closed 5 years ago

ngwese commented 6 years ago

it appears that occasionally after renaming a file in maiden it is no longer possible to play the file. https://llllllll.co/t/norns-help/14016/268 https://llllllll.co/t/norns-help/14016/269

refreshing the browser window appears to fix the problem.

given the behavior it is likely that the rename operation was completed on the device (via the http backend) and the return response is either:

refreshing the browser window is effectively forcing the on device file tree to be re-read which seem to be further evidence that the change is made on device but the browser based data is not being brought in sync.

ngwese commented 5 years ago

this should be fixed as of https://github.com/monome/maiden/commit/30c76e32c988fbff4b91a7723f3a1001fc3b5ebf