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

stack build and yedod/templates #544

Closed
angerman opened this issue Jul 8, 2015 · 1 comment
Closed

stack build and yedod/templates #544

angerman opened this issue Jul 8, 2015 · 1 comment

Comments

@angerman
Copy link
Contributor

angerman commented Jul 8, 2015

I just found out that when changing a template, touch path/to/File.hs is needed prior to calling stack build again. Where File is the module using the template.

This is, I assume, a more tricky situation, as it would require figuring out which module uses the template.

Alternatively, does stack build provide a forced rebuild option I did not see?

@snoyberg
Copy link
Contributor

snoyberg commented Jul 8, 2015

This is a known deficiency right now. @DanBurton is currently working on overcoming it in #105. There's not currently a forced rebuild option, touching a random file is the right temporary workaround.

@snoyberg snoyberg closed this as completed Jul 8, 2015
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

2 participants