gulp watch
进行较小的 CSS 更改时随机崩溃。相同的更改将工作一次(浏览器重新加载并显示更改)但下一次(在文本编辑器中撤消和重做然后保存之后)gulp watch
可能会莫名其妙地崩溃并出现以下错误:
[03:53:21] Starting 'styles'...
assets\styles\main.scss
Error: File to import not found or unreadable: partials/home_page
Parent style sheet: D:/EasyPHP/www/pot/wp-content/themes/pot/assets/styles/main.scss
on line 4 of assets/styles/main.scss
>> @import "partials/home_page";
^
[03:53:21] Finished 'styles' after 7.96 ms
...考虑到完全相同的更改在几秒钟前就可以正常工作。有什么建议吗?