-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Is there a way to set envVars for revolver? Here's my interpretation of the readme applied to a scenario where I want my dev server to run locally with dev only env vars:
addCommandAlias(
"server-dev",
"; project server" +
"; set envVars in reStart := Map(\"aws_region\" -> \"us-east-1\")" +
"; reStart"
)
but I cannot access those variables in any task that restart triggers, e.g. this fails:println(sys.env("aws_region"))
of course I can get this working simply by exporting manually, like:
export aws_region=us-east-1 && sbt server-dev
Metadata
Metadata
Assignees
Labels
No labels