🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness
If the direnv shell isn't loaded and a developer runs devenv up or start, user will be instructed to run devenv init, which will put the project in a messy state with devenv.nix etc which shouldn't be in the project.
I think it can potentially happen a lot for newcomers curious about devenv.
Ideally, we should maybe have some measures to prevent this, but I'm not sure the best way to solve it.
Can we do a check if the direnv shell is activated on the start script in the boilerplate? Or should we just have it in stated in the docs somewhere?
If the direnv shell isn't loaded and a developer runs
devenv up
orstart
, user will be instructed to rundevenv init
, which will put the project in a messy state withdevenv.nix
etc which shouldn't be in the project.I think it can potentially happen a lot for newcomers curious about devenv.
Ideally, we should maybe have some measures to prevent this, but I'm not sure the best way to solve it.
Can we do a check if the direnv shell is activated on the
start
script in the boilerplate? Or should we just have it in stated in the docs somewhere?Related discussion on Slack: https://ihpframework.slack.com/archives/C01DQE0F4F8/p1690493993423259