Laravel + BrowserSync infinite loads

北城余情 提交于 2019-12-24 08:27:20

问题


I want to setup browserSync with laravel. I have a virtual host on local machine http://site.localhost.

According to the manual I put this into my gulpfile.js:

mix.browserSync({
  proxy: 'site.localhost'
})

So when I run gulp watch I got http://localhost:3000 open with just infinite loading. So what did I do wrong?

来源:https://stackoverflow.com/questions/39801873/laravel-browsersync-infinite-loads

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!