Skip to content

Commit

Permalink
switch to five-server (*f*ork of live-server) for serving examples: i…
Browse files Browse the repository at this point in the history
…t is a drop-in alternative without the slow network speed issue live-server has lately
  • Loading branch information
trusktr committed Sep 9, 2023
1 parent 3ab20c4 commit cca5c95
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 38 deletions.
58 changes: 28 additions & 30 deletions assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/aswebglue-cube/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"scripts": {
"build": "asc ./index.ts -b index.wasm --noUnsafe --sourceMap --debug",
"prestart": "npm run build",
"start": "live-server ./"
"start": "five-server ./"
},
"dependencies": {
"glas": "file:../../"
},
"devDependencies": {
"assemblyscript": "0.18.8",
"live-server": "^1.2.1"
"five-server": "^0.3.1"
}
}
4 changes: 2 additions & 2 deletions examples/glas-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"scripts": {
"build": "asc ./index.ts -b index.wasm --noUnsafe --sourceMap --debug",
"prestart": "npm run build",
"start": "live-server ./"
"start": "five-server ./"
},
"dependencies": {
"glas": "file:../../"
},
"devDependencies": {
"assemblyscript": "0.18.8",
"live-server": "^1.2.1"
"five-server": "^0.3.1"
}
}
4 changes: 2 additions & 2 deletions examples/glas-global-var/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"scripts": {
"build": "asc ./index.ts -b index.wasm --noUnsafe --sourceMap --debug",
"prestart": "npm run build",
"start": "live-server ./"
"start": "five-server ./"
},
"dependencies": {
"glas": "file:../../"
},
"devDependencies": {
"assemblyscript": "0.18.8",
"live-server": "^1.2.1"
"five-server": "^0.3.1"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"prettier": "prettier --write \"./**/?*.*\"",
"clean": "rimraf dist",
"/////////////////// RUNTIME /////////////////////////": "",
"server": "live-server --watch=dist,examples --open=examples/ ./",
"server": "five-server --watch=dist,examples --open=examples/ ./",
"prestart": "npm run build",
"start": "npm run server",
"prepare": "npm rebuild --build-from-source gl"
Expand All @@ -54,7 +54,7 @@
"assemblyscript": "^0.19.3",
"deasync": "^0.1.21",
"glfw-raub": "4.6.0",
"live-server": "^1.2.1",
"five-server": "^0.3.1",
"make-dir-cli": "^3.0.0",
"prettier": "^2.3.1",
"rimraf": "^3.0.2",
Expand Down

0 comments on commit cca5c95

Please sign in to comment.