Skip to content

Commit

Permalink
serve: run trunk from app directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rlane committed Dec 24, 2024
1 parent 79e4af0 commit a2e3ee7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/src/bin/serve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,16 @@ fn main() -> Result<()> {
"-v",
"serve",
"--dist",
"frontend/app/dist-debug",
"frontend/app/index.html",
"--watch=frontend",
"--watch=target/builtin-ai.tar.gz",
"--watch=shared/api",
"--watch=shared/simulator",
"--ignore=frontend/app/dist",
"dist-debug",
"index.html",
"--watch=..",
"--watch=../../target/builtin-ai.tar.gz",
"--watch=../../shared",
"--ignore=dist-debug",
if args.release { "--release" } else { "" },
if args.listen { "--address=0.0.0.0" } else { "" },
])
.current_dir("frontend/app")
.spawn()?
.wait()?;
}
Expand Down

0 comments on commit a2e3ee7

Please sign in to comment.