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

File watch doesn't trigger build when package.yaml changes #1819

Closed
tfausak opened this issue Feb 21, 2016 · 2 comments
Closed

File watch doesn't trigger build when package.yaml changes #1819

tfausak opened this issue Feb 21, 2016 · 2 comments

Comments

@tfausak
Copy link
Contributor

@tfausak tfausak commented Feb 21, 2016

If I edit my package.yaml (for hpack) while running stack build --file-watch, a new build doesn't start. Seems like it should.

@mitchellwrosen
Copy link
Contributor

@mitchellwrosen mitchellwrosen commented Feb 21, 2016

The list of watched files is populated with:

  • all local packages' files
  • stack.yaml

Perhaps Stack.Build.Source.getPackageFilesSimple should be made aware of package.yaml?

mgsloan added a commit that referenced this issue Feb 21, 2016
@mgsloan
Copy link
Contributor

@mgsloan mgsloan commented Feb 21, 2016

@tfausak Good catch, I think this commit fixes it - reopen if not.

@mgsloan mgsloan closed this Feb 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants