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

不写入热更新文件 #1

Open
dmyz opened this issue Oct 7, 2024 · 1 comment
Open

不写入热更新文件 #1

dmyz opened this issue Oct 7, 2024 · 1 comment

Comments

@dmyz
Copy link

dmyz commented Oct 7, 2024

writeToDisk(filename) {
      // console.log(filename);
      return !filename.includes('hot-update'); // 不写入热更新文件
},
@wildseeder
Copy link
Owner

热更新需要这些文件,不能这样忽略,否则会降级到 liveReload 刷新整个页面。

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

2 participants