Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --watch option to rebuild when any live file changes #839

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chrismwendt
Copy link

@chrismwendt chrismwendt commented Mar 23, 2023

CleanShot.2023-03-23.at.16.29.08.mp4

The only limitation is that this doesn't watch the build script itself, so if your build rules change then you'll need to do additional work. See https://shakebuild.com/manual#changing-build-rules

exitFailure
Right () -> do
tot <- start
putWhenLn Info $ esc Green $ "Build completed in " ++ showDuration tot
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turn off whitespace changes when reviewing this section - it's not as complex as it looks:

CleanShot 2023-03-23 at 16 36 38@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use file-watching mechanism Support recompilation with file watching
1 participant