mirror of
https://github.com/status-im/metro.git
synced 2025-01-15 21:54:28 +00:00
54a8fe9156
Summary: There's been a case where Babel can hang indefinitely on a file parse/transform. Possibly related to https://github.com/babel/babel/issues/2211 This adds a timeout to transform jobs and throws an error informing the user of the offending file. The timeout interval defaults to 10 seconds, but can be changed via an option.