Explorar el Código

chore: Log error stack in rollup.watch

version-14
Faris Ansari hace 5 años
padre
commit
14b2905e63
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      rollup/watch.js

+ 5
- 1
rollup/watch.js Ver fichero

@@ -77,7 +77,11 @@ function log_css_change({output}) {

function log_error(error) {
log(chalk.yellow('Error in: ' + error.id));
log(chalk.red(error.toString()));
if (error.stack) {
log(chalk.red(error.stack));
} else {
log(chalk.red(error.toString()));
}

if (error.frame) {
log(chalk.red(error.frame));


Cargando…
Cancelar
Guardar