From a0c42adef05b40844a7dba304d2336db68d57a68 Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Thu, 15 Dec 2022 06:26:37 +0100 Subject: [PATCH] test: try some change --- test/cli/samples/watch/bundle-error/_config.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/cli/samples/watch/bundle-error/_config.js b/test/cli/samples/watch/bundle-error/_config.js index c00b2e0161b..d9e535e2a13 100644 --- a/test/cli/samples/watch/bundle-error/_config.js +++ b/test/cli/samples/watch/bundle-error/_config.js @@ -17,11 +17,14 @@ module.exports = { }, abortOnStderr(data) { if (data.includes('[!] RollupError: Unexpected token')) { + console.log('TRIGGER WRITE FILE'); setTimeout(() => atomicWriteFileSync(mainFile, 'export default 42;'), 500); return false; - } - if (data.includes('created _actual')) { + } else if (data.includes('created _actual')) { + console.log('DONE'); return true; + } else { + console.log('NO TRIGGER:', data); } } };