DEV: Add option to disable live reload in ember-cli

This commit is contained in:
Penar Musaraj 2024-10-21 19:20:39 -04:00
parent 08911eac8f
commit 4e65eccdaa
No known key found for this signature in database
GPG Key ID: E390435D881FF0F7
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ pnpm_env = {
"TERM" => "dumb", # simple output from ember-cli, so we can parse/forward it more easily
}
pnpm_env["FORWARD_HOST"] = "true" if ARGV.include?("--forward-host")
args << "--live-reload=false" if ARGV.include?("--disable-ember-live-reload")
if ARGV.include?("-u") || ARGV.include?("--unicorn")
unicorn_env = { "DISCOURSE_PORT" => ENV["DISCOURSE_PORT"] || "4200" }