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

[esbuild-plugin-copy] Copy only if file has changed #85

Closed
mkahvi opened this issue Aug 15, 2022 · 1 comment
Closed

[esbuild-plugin-copy] Copy only if file has changed #85

mkahvi opened this issue Aug 15, 2022 · 1 comment

Comments

@mkahvi
Copy link

mkahvi commented Aug 15, 2022

The copying should happen only if a file has changed. This would make the plugin behave much better with watch enabled in esbuild.

Even simple comparison of last modify date would do it in most cases.

Would be made better if it cached the stat calls for the target files.

@linbudu599
Copy link
Member

Duplicate with #98 and should got fixed this weekend.

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