mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
Enhance serve recipe to automatically open the browser
- use xdg-open firefox - keep serve recipe in foreground
This commit is contained in:
3
justfile
3
justfile
@@ -10,6 +10,7 @@ setup:
|
||||
|
||||
[group('dev')]
|
||||
serve: migrate
|
||||
@xdg-open http://127.0.0.1:8000 &
|
||||
@php \
|
||||
-d upload_max_filesize=512M \
|
||||
-d post_max_size=520M \
|
||||
@@ -17,7 +18,7 @@ serve: migrate
|
||||
-d max_execution_time=300 \
|
||||
-d max_input_time=300 \
|
||||
-S 127.0.0.1:8000 -t app/public/ app/router.php 2>&1 \
|
||||
| stdbuf -oL grep -Ev '(Accepted|Closing|live-reload\.php|assets/|favicon)' || true
|
||||
| stdbuf -oL grep -Ev '(Accepted|Closing|live-reload\.php|assets/|favicon)'
|
||||
|
||||
[group('dev')]
|
||||
stop:
|
||||
|
||||
Reference in New Issue
Block a user