Skip to content

Commit 8f48679

Browse files
skipjackSpaceK33z
authored andcommitted
Updating the build-test script to run a build and start the server
1 parent eda416e commit 8f48679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"scripts": {
2424
"start": "npm run init:generated && node ./bootstrap.js",
2525
"build": "npm run init:generated && rm -rf build/ && node ./bootstrap.js && npm run sitemap && echo webpack.js.org > build/CNAME",
26-
"build-test": "http-server build/",
26+
"build-test": "npm run build && http-server build/",
2727
"deploy": "gh-pages -d build",
2828
"fetch": "scripts/fetch.sh",
2929
"init:generated": "mkdirp ./generated/loaders && ncp ./content/loaders/ ./generated/loaders && mkdirp ./generated/plugins && ncp ./content/plugins/ ./generated/plugins",

0 commit comments

Comments
 (0)