adding delay

This commit is contained in:
Martin Karkowski 2020-08-23 09:25:39 +02:00
parent f946a6107c
commit c243f3ef8e

View File

@ -4,9 +4,11 @@ import { startBackend } from '../../src/startBackend';
// Start the Backend
const result = startBackend({port: 3001});
generate({
setTimeout(() => {
generate({
input: 'http://localhost:3001' + result.definitionUri,
output: './pages/interface'
});
});
result.close()
result.close()
}, 2000)