rollup / rollup-watch

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

Handle promise rejection in the sequence function #42

Closed pqml closed 7 years ago

pqml commented 7 years ago

Hi all,

In test.js, the sequence function doesn't handle errors for functions passed in the events arguments. That leads to timeouts and incorrect error reporting when running tests.

This commit should work with "simple" functions and promises

Rich-Harris commented 7 years ago

Thank you! Sorry for the long delay in merging 🍻