Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

咨询一下本地歌曲 "文件增删实时同步" 怎么实现 #9

Open
nondanee opened this issue Mar 13, 2020 · 0 comments
Open

Comments

@nondanee
Copy link

我看选择目录的窗口里有 tips

<div>将自动扫描您勾选的目录,文件增删实时同步。</div>

但是在 Localsong 的源码没找到相关实现
https://github.com/xiaozhu188/electron-vue-cloud-music/blob/bded3bd6fc19a021cd9b7a83774457b26025433e/src/renderer/store/modules/Localsong.js

全局搜了下也没有 fs.watch 之类的方法

测试了 release 的版本好像是不能自动同步的

所以想问下同步功能要怎么实现呢
或者说有什么好的思路
可以分享一下吗

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant