Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
MoLow committed Nov 10, 2022
1 parent f720559 commit e9b0848
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/sequential/test-watch-mode.mjs
Expand Up @@ -87,6 +87,7 @@ async function failWriteSucceed({ file, watchedFile }) {
const child = spawn(execPath, ['--watch', '--no-warnings', file], { encoding: 'utf8' });

child.stdout.on('data', (data) => {
console.log(data.toString());
stdout += data;
if (data.toString().startsWith('Failed running')) notFound.resolve();
if (data.toString().startsWith('Completed running')) completed.resolve();
Expand Down

0 comments on commit e9b0848

Please sign in to comment.