File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
waspc/cli/src/Wasp/Cli/Command Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import qualified StrongPath as SP
10
10
import System.Process (proc )
11
11
import System.Random (Random (randoms ), RandomGen , newStdGen )
12
12
import Wasp.Cli.Command (Command , require )
13
- import Wasp.Cli.Command.Require (InWaspProject (InWaspProject ))
13
+ import Wasp.Cli.Command.Require (DbConnectionEstablished ( DbConnectionEstablished ), InBuildDir ( InBuildDir ), InWaspProject (InWaspProject ))
14
14
import Wasp.Generator.Common (ProjectRootDir )
15
15
import qualified Wasp.Generator.WebAppGenerator.Common as Common
16
16
import qualified Wasp.Job as J
@@ -37,6 +37,7 @@ postgresUrl = "postgresql://postgresWaspDevUser:postgresWaspDevPass@localhost:54
37
37
buildStart :: Command ()
38
38
buildStart = do
39
39
InWaspProject waspProjectDir <- require
40
+ InBuildDir DbConnectionEstablished <- require
40
41
41
42
-- TODO: Nice error when the build directory does not exist.
42
43
-- TODO: Nice error when DB is not running.
You can’t perform that action at this time.
0 commit comments