* notify error
(err)
| 34 | * notify error |
| 35 | */ |
| 36 | notifier(err) { |
| 37 | if (!this.options.notifier) return; |
| 38 | let notifier = this.options.notifier; |
| 39 | if (!helper.isArray(notifier)) { |
| 40 | notifier = [notifier]; |
| 41 | } |
| 42 | notifier[0](Object.assign({ |
| 43 | title: 'ThinkJS Transpile Error', |
| 44 | message: err.message |
| 45 | }, notifier[1])); |
| 46 | } |
| 47 | /** |
| 48 | * watcher callback |
| 49 | */ |
no outgoing calls
no test coverage detected