livebud / bud

The Full-Stack Web Framework for Go
MIT License
5.58k stars 179 forks source link

`bud run` doesn't propagate environment variables #151

Closed vito closed 2 years ago

vito commented 2 years ago

👋 Noticed when running my app with bud run it only runs it with a specific set of env vars. This is an issue for me because I use env vars to pass config along.

I'm guessing this comes from here:

https://github.com/livebud/bud/blob/f4f29bbb69ae571312295ca80d7e1261a0ec8e48/internal/cli/cli.go#L57-L63

https://github.com/livebud/bud/blob/f4f29bbb69ae571312295ca80d7e1261a0ec8e48/internal/cli/cli.go#L252

No issue if I bud build and run the binary instead.