mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
testsetup: switch to development server
This commit is contained in:
@@ -40,7 +40,10 @@ const startFlood = () => {
|
||||
return;
|
||||
}
|
||||
|
||||
floodProcess = spawn(`${path.join(__dirname, '../dist/index.js')}`, argv, {stdio: 'inherit'});
|
||||
floodProcess = spawn('npm', ['run', 'start:development:server', '--'].concat(argv), {
|
||||
cwd: path.join(__dirname, '..'),
|
||||
stdio: 'inherit',
|
||||
});
|
||||
};
|
||||
|
||||
const closeProcesses = () => {
|
||||
|
||||
Reference in New Issue
Block a user