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

[cli] Add watch functionality #69

Open
4 tasks
MitchPierias opened this issue Sep 17, 2019 · 1 comment
Open
4 tasks

[cli] Add watch functionality #69

MitchPierias opened this issue Sep 17, 2019 · 1 comment
Labels
feature New feature or request enhancement

Comments

@MitchPierias
Copy link
Collaborator

MitchPierias commented Sep 17, 2019

A --watch flag should be provided to allow a user to automate rebuilds and testing without having to manually trigger actions each time. Should consider issue #73 prior to this for optimization.

  • Hash files and keep a reference to determine if the contract has changed since the last build.
  • Add watcher to observe the configured directories for changes.
  • Hash changed file and compare against stored hash to determine if change has truly occurred.
  • Trigger the previous command build or test on the changed files.
@mwawrusch
Copy link

That would be an amazing improvement for our workflow. Great suggestion

@MitchPierias MitchPierias added the feature New feature or request enhancement label Sep 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request enhancement
Projects
None yet
Development

No branches or pull requests

2 participants