rollup / rollup-watch

Fast incremental rebuilds with Rollup CLI
MIT License
91 stars 23 forks source link

Error catching and detect if function passed in #20

Closed zwhitchcox closed 7 years ago

zwhitchcox commented 8 years ago

See #19

Rich-Harris commented 7 years ago

Thanks – going to close this, as it's generally not a good idea to be overly flexible in what arguments you accept, it just causes maintenance headaches down the road. And errors should be handled by the consumer, they should never be logged straight to the console without a way to intercept them.

Mostly this is down to a lack of documentation on how to use this project, because it's fairly low-level and we didn't anticipate it being used outside the context of the CLI.