slidev
slidev copied to clipboard
Changing a file while creating a theme takes a long time to refresh
Describe the bug
While creating a theme, when you update a file, it takes too long for Slidev to pick up the changes and refresh the browser. Even sending SIGKILL takes a lot of time to process.
To Reproduce Steps to reproduce the behavior:
-
npm init slidev-themeoryarn create slidev-theme -
npm run devoryarn dev - Change a file and save it
- Notice that the browser takes a long time to refresh
- Try pressing
^Cto sendSIGKILLto the dev process - Notice that the process doesn't respond immediately
Desktop (please complete the following information):
- OS: MacOS Big Sur 11.6
- Browser: Chrome 96.0.4664.55
- Slidev version: >= 0.19.3