mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-22 06:23:01 +00:00
Get the development server to serve the correct directory
This commit is contained in:
parent
0dcdb9261d
commit
f051435f1d
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
||||||
app/
|
app/
|
||||||
|
data/
|
||||||
# Created by https://www.gitignore.io/api/git
|
# Created by https://www.gitignore.io/api/git
|
||||||
# Edit at https://www.gitignore.io/?templates=git
|
# Edit at https://www.gitignore.io/?templates=git
|
||||||
|
|
||||||
|
|
2
build
2
build
|
@ -102,7 +102,7 @@ function task_database {
|
||||||
|
|
||||||
function task_dev-server {
|
function task_dev-server {
|
||||||
task_begin "Starting development server";
|
task_begin "Starting development server";
|
||||||
php -S [::1]:40482 -t "${build_output_folder}" &
|
php -S [::1]:40482 &
|
||||||
exit_code=$?;
|
exit_code=$?;
|
||||||
echo $! >/tmp/micro-lantern-dev-server.pid;
|
echo $! >/tmp/micro-lantern-dev-server.pid;
|
||||||
task_end $?; # Should be 0 unless php died for some reason
|
task_end $?; # Should be 0 unless php died for some reason
|
||||||
|
|
Loading…
Reference in a new issue