我有这个开始参考 package.json
"scripts": {
"start": "node bin/www"
},
Run Code Online (Sandbox Code Playgroud)
当我打字时它正在运行我的快速应用程序npm start.
但我希望浏览器同时打开http://localhost:8081.我怎么能说start打开我的本地网址呢?
喜欢: "start": "node bin/www, http://localhost:8081"
因此,当我打字时,npm satrt它运行我的快递应用程序并同时打开网址.