-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
feat(mason_cli): mason make --watch
#1131
feat(mason_cli): mason make --watch
#1131
Conversation
Drafted, investigating Windows hang. |
This Pull Request is ready to be reviewed. The Windows hang mentioned previously (#1131 (comment)) was fixed (commit f222430). If you would like to test the change you may:
git clone https://github.com/alestiago/mason.git
dart pub global activate --source path .
|
I started reviewing yesterday. Will try to wrap up today or tomorrow. One thing to consider is this implementation doesn’t handle the case where I remove a file from the brick as the output will remain polluted with the previous run’s output for that file. Also the default behavior seems weird because you’ll always have conflicts with watch mode so the default prompting behavior doesn’t work well imo 🤷♂️ |
Awesome, thank you for taking a look. Feel free to apply changes as you desire.
That is true and is a valid observation! I think implementing such case would require taking snapshots of the output directory. We should for example, not delete a file that was already there before the
Definitely! Personally, every time I use the I didn't commit to solving the "prompting" issue since it would be highly opinionated and require an agreement on how to resolve so. Maybe, we could resolve this as another Pull Request? Since it's already solvable by using a configuration file? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for the contribution! 💙
mason make
watch flagmason make --watch
Status
READY FOR REVIEW
Description
Partially resolves #384
Type of Change