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

Add possibility to copy on start #2

Open
vladshcherbin opened this issue Jul 8, 2018 · 2 comments
Open

Add possibility to copy on start #2

vladshcherbin opened this issue Jul 8, 2018 · 2 comments

Comments

@vladshcherbin
Copy link

It would be nice to have an option to write on start or on write. It's useful in watch mode when you don't want to copy files every time you bundle changes. The option can be named watch or smth.

@bengsfort
Copy link
Owner

Will tackle this today.

@bengsfort
Copy link
Owner

Sorry never got back to this. Due to the way the rollup plugin hooks work, this is actually quite difficult. The initial hook that happens on start does not provide enough information to know about the output directory, and quite a few of the plugin hooks everything works off of do not have access to the context methods such as adding a file/directory to be watched; so this actually requires quite a bit of work. I may take a look in the future, but I don't have time to dedicate to this feature request at the moment.

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