Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Watch for added/changed static files (aka non-JS, non-CSS files) in watch mode #22

Open
timriley opened this issue Feb 27, 2024 · 0 comments
Milestone

Comments

@timriley
Copy link
Member

Right now adding new static files (e.g. app/assets/images/some-image.jpg) requires the hanami assets watch process to be restarted. This is far from ideal. Watch mode should detect added/changed files in assets directory and process those as required.

The https://github.com/tinchoz49/esbuild-plugin-copy-watch plugin may provide some inspiration for us here.

@timriley timriley added this to the v2.1.1 milestone Feb 29, 2024
@timriley timriley modified the milestones: v2.1.1, v2.1.2 Apr 2, 2024
@timriley timriley moved this to Maybe in Hanami 2.2 Jul 15, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: Not now
Development

No branches or pull requests

1 participant