daml start: less scary colors for rebuild message (#8929)

We change the color from red to yellow to inform about the possibility
to rebuild and also output the success message in green.

CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
Robin Krom 2021-02-24 11:32:59 +01:00 committed by GitHub
parent 4e2f1b6886
commit 55b52f1249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,9 +302,11 @@ runStart
doCodegen projectConfig
doUploadDar darPath sandboxPort
doRunInitScript
setSGR [SetColor Foreground Dull Green]
putStrLn "Rebuild complete."
setSGR [Reset]
printRebuildInstructions = do
setSGR [SetColor Foreground Vivid Red]
setSGR [SetColor Foreground Vivid Yellow]
putStrLn reloadInstructions
setSGR [Reset]
hFlush stdout