mysticatea / cpx

A cli tool to watch and copy file globs.
MIT License
524 stars 36 forks source link

Possibly the 'destroy' method of transform streams is undefined. #18

Closed mysticatea closed 8 years ago

mysticatea commented 8 years ago

https://github.com/mysticatea/cpx/blob/79671ba9cdde444d1383fe502ec36cd4f825eff9/src/lib/copy.js#L33 needs to check the existence of the method.

From https://twitter.com/ledsun/status/755586702568075264