Commit 67d6ae2a authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[BUGFIX] fix default command

parent f8694a86
......@@ -11,10 +11,13 @@ module.exports = class Default extends Task {
* @override
*/
async run() {
let serverTask = this._settings.tasks.server();
new serverTask().run();
let watchTask = this._settings.tasks.watch();
new watchTask().run();
return new Promise(async resolve => {
let serverTask = this._settings.tasks.server();
await new serverTask().run();
let watchTask = this._settings.tasks.watch();
await new watchTask().run();
resolve();
});
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment