mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 19:04:43 +03:00
I like my tests showing TS source lines more!
This commit is contained in:
parent
970b011cba
commit
6102052832
@ -3,6 +3,7 @@
|
||||
"target": "ESNext",
|
||||
"module": "commonjs",
|
||||
"lib": ["esnext", "dom", "DOM.Iterable"],
|
||||
"sourceMap": true,
|
||||
"rootDir": "./src",
|
||||
"outDir": "./lib",
|
||||
"strict": true,
|
||||
|
@ -20,7 +20,7 @@ const fs = require('fs');
|
||||
|
||||
const spawns = [
|
||||
child_process.spawn('node', [path.join(__dirname, 'runWebpack.js'), '--mode="development"', '--watch', '--silent'], { stdio: 'inherit', shell: true }),
|
||||
child_process.spawn('npx', ['tsc', '-w', '--preserveWatchOutput', '--sourceMap', '-p', path.join(__dirname, '..')], { stdio: 'inherit', shell: true }),
|
||||
child_process.spawn('npx', ['tsc', '-w', '--preserveWatchOutput', '-p', path.join(__dirname, '..')], { stdio: 'inherit', shell: true }),
|
||||
];
|
||||
process.on('exit', () => spawns.forEach(s => s.kill()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user