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

Comments

Projects
None yet
3 participants
@tfausak
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

This comment has been minimized.

Contributor

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

This comment has been minimized.

Collaborator

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