Skip to content

Commit

Permalink
Removes automatic opening of browser on npm run dev (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
olange committed Feb 25, 2019
1 parent 6f71ff5 commit cbd531d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Three Web Components · Redirecting to `demos/`</title>
<!-- Immediately forward to the demos, which are mounted at /demos -->
<script>window.location = "demos/index.html";</script>
</head>
</html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "BSD-3-Clause",
"scripts": {
"bootstrap": "npm install && ./scripts/bootstrap.sh",
"dev": "polyserve --npm --module-resolution=node --open-path=demos/index.html --open",
"dev": "polyserve --npm --module-resolution=node --open-path=demos/index.html",
"publish": "npx lerna publish"
},
"devDependencies": {
Expand Down

0 comments on commit cbd531d

Please sign in to comment.