Linux下browser-sync没法启动Chrome的解决方法

笔者的环境:chrome

OS: Ubuntu Linux浏览器

Browser: Chrome, Firefoxless

 

每次但愿启动chrome浏览器,系统都会报错:google

1 browser-sync start -s --directory -f **/* --browser chrome

Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false)spa

 

正确的启动方式应为:code

browser-sync start -s --directory -f **/* --browser google-chrome
相关文章
相关标签/搜索