项目文件夹截图:

demo文件夹下面有个静态页面,就在当前目录的命令行工具通过:
browser-sync start --server --files "css/*.css"
来启动browser-sync;结果提示(代码、截图如下):
Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false)

私以为是代码里提到的‘headless enviroment’的问题,但百度半天无果。
所以向大神请教,这个是什么问题?该如何解决呢?
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
走同样的路,发现不同的人生