Ignore public/ directory; always serve repository root

By default http-server will serve ./public if it exists.  We
want it to always serve the repository root, so configure the
start script to specify that explicitly, so that the existence of
a public/ directory will not break things.
This commit is contained in:
Christopher Allen
2021-07-19 15:59:27 +01:00
committed by Christopher Allen
parent 13b0442f75
commit 607c5e191b

View File

@@ -47,7 +47,7 @@
"publish:beta": "gulp publishBeta",
"recompile": "gulp recompile",
"release": "gulp gitCreateRC",
"start": "http-server -o /tests/playground.html",
"start": "http-server ./ -o /tests/playground.html",
"test": "tests/run_all_tests.sh",
"test:generators": "tests/scripts/run_generators.sh",
"test:compile:advanced": "gulp buildAdvancedCompilationTest",