【发布时间】:2019-08-28 12:04:38
【问题描述】:
当我在 Laravel 中运行 npm run watch-poll 并使用 browsersync 功能时:
mix.browserSync('https://vuravel.local')
我收到了这个奇怪的错误。我不知道如何解决这个问题。有什么想法吗?
我在 Ubuntu 上运行 apache 服务器,并使用 Google Chrome 作为浏览器。
[Browsersync] Access URLs:
---------------------------------------
Local: https://localhost:3000
External: https://192.168.1.244:3000
---------------------------------------
UI: http://localhost:3001
UI External: http://localhost:3001
---------------------------------------
[Browsersync] Watching files...
events.js:183
throw er; // Unhandled 'error' event
^
Error: watch /path/to/root/***.php ENOSPC
at _errnoException (util.js:1022:11)
at FSWatcher.start (fs.js:1382:19)
at Object.fs.watch (fs.js:1408:11)
【问题讨论】:
标签: webpack browser-sync laravel-mix