Opening non-default browser with lite-server in angular2 quick start guide

前端 未结 7 1291
庸人自扰
庸人自扰 2021-02-05 08:14

Having followed the TypeScript version of the Angular 2 Quick Start guide, I was wondering if it is possible, and if so how to configure the lite-server to launch a browser othe

7条回答
  •  攒了一身酷
    2021-02-05 08:42

    lite-server is actually using browser-sync, so you should be able to use --browser CLI command for that.

    "lite:c" : "lite-server --browser chrome --open local"
    

提交回复
热议问题