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

Support watching go:embed files in encore.run #416

Open
Minivera opened this issue Oct 8, 2022 · 0 comments
Open

Support watching go:embed files in encore.run #416

Minivera opened this issue Oct 8, 2022 · 0 comments

Comments

@Minivera
Copy link
Contributor

Minivera commented Oct 8, 2022

The notify.Watch call during the execution of encore.run is configured to only watch go files and the files that encore need to compile the go application,

case ".go", ".sql", ".mod", ".sum", ".app":

If embedding files into the binary with go:embed for example, encore will not recompile when those file change unless you make changes to the go files directly. It would be great if Encore could detect the files I embed in my code and rebuild when those changes, like with JavaScript files for examples.

Context: https://encoredev.slack.com/archives/C0356ERKBEH/p1665259569278239

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

1 participant