Skip to content

Commit

Permalink
Provide test folder to poetry, it was not working in watch mode for s…
Browse files Browse the repository at this point in the history
…ome reason
  • Loading branch information
MangelMaxime committed Nov 21, 2023
1 parent 13ed2a1 commit f73d6a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Fable.Build/Test/Python.fs
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ let handle (args: string list) =
CmdLine.empty
|> CmdLine.appendRaw "--watch"
|> CmdLine.appendRaw "--runWatch"
|> CmdLine.appendRaw "poetry run pytest -x"
|> CmdLine.appendRaw $"poetry run pytest {buildDir} -x"
else
CmdLine.empty
|> CmdLine.appendRaw "--run"
|> CmdLine.appendRaw "poetry run pytest -x"
|> CmdLine.appendRaw $"poetry run pytest {buildDir} -x"
]

if isWatch then
Expand Down

0 comments on commit f73d6a9

Please sign in to comment.