You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe this would be a nice addition to getVolumes.
Currently getVolumes returns a function that is called very often, to see if there are updates on any volume (new USB attached, etc). This has a strong performance penalty on Windows.
To address the performance penalty it would be useful to have a refresh button next to the volume selection menu so getVolumes is only called every once in a while.
As a workaround, if you don't care about "new attached USB drives" you can use:
These system level niceties would indeed be nice, but I'm not going to put a powershell dependency in for the sake of that.
I was unaware of the penalty hit in Windows. The user/developer is free to set the update frequency so it should be easy to control IMO. Otherwise just use a constant vector as you suggest
Right now to have MyDocuments and Desktop as volumes on Windows machines I am using this.
(Note that this depends on powershell being available)
And then
Maybe this would be a nice addition to
getVolumes
.Currently
getVolumes
returns a function that is called very often, to see if there are updates on any volume (new USB attached, etc). This has a strong performance penalty on Windows.To address the performance penalty it would be useful to have a refresh button next to the volume selection menu so getVolumes is only called every once in a while.
As a workaround, if you don't care about "new attached USB drives" you can use:
The text was updated successfully, but these errors were encountered: