feat: Made design more responsive

fix: Made blurring server side to help with performance
fix: Fixed shortcut useEffect loop
This commit is contained in:
Simeon Radivoev 2026-02-26 00:28:14 +02:00
parent b4a89385d0
commit 9e4b2a02c1
Signed by: simeonradivoev
GPG key ID: 7611A451D2A5D37A
38 changed files with 583 additions and 329 deletions

View file

@ -9,8 +9,11 @@ function spawnServer ()
return Bun.spawn(["bun", "run", "--inspect=127.0.0.1:9229/fixed-session", '--watch', "./src/bun/index.ts"], {
env: {
...Bun.env,
HEADLESS: "true"
HEADLESS: "true",
},
stdout: "inherit",
stderr: "inherit",
stdin: "inherit",
ipc (message, subprocess, handle)
{
if (message.type === 'exitapp')
@ -25,7 +28,7 @@ function spawnBrowser ()
{
try
{
return browser(events, false);
return browser(events, !!Bun.env.FORCE_BROWSER);
} catch (error)
{
console.error(error);