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 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

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
Copy link
Contributor

mgsloan commented Feb 21, 2016

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

@mgsloan mgsloan closed this as completed Feb 21, 2016
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

No branches or pull requests

3 participants