From 1cab8456b4ff122af370358c75d353deb14367d7 Mon Sep 17 00:00:00 2001 From: Markus Sorg Date: Sun, 2 Oct 2016 04:31:39 +0200 Subject: [PATCH] Open default browser on "npm run dev" (#20) --- template/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/package.json b/template/package.json index 3b90571..c32b097 100644 --- a/template/package.json +++ b/template/package.json @@ -7,7 +7,7 @@ {{/private}} "scripts": { "watchify": "watchify -vd -p browserify-hmr -e src/main.js -o dist/build.js", - "serve": "http-server -c 1 -a localhost", + "serve": "http-server -o -c 1 -a localhost", "dev": "npm-run-all --parallel watchify serve", {{#lint}} "lint": "eslint --ext .js,.vue src{{#unit}} test/unit{{/unit}}",