run adguard home in the background

This commit is contained in:
Ildar Kamalov
2025-02-03 13:16:15 +03:00
parent 2aff577658
commit f89a24d6e9

View File

@@ -71,7 +71,7 @@ export default defineConfig({
webServer: {
stdout: process.env.CI ? 'pipe' : 'ignore',
command: process.env.CI
? './AdGuardHome --local-frontend -v'
? 'sudo ./AdGuardHome --local-frontend -v | tee ./AdGuardHome.stdout 2>./AdGuardHome.stderr &'
: 'rm -f AdGuardHome.yaml && sudo ./AdGuardHome --local-frontend -v',
url: 'http://127.0.0.1:3000',
cwd: '..',