筆者的環境: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