Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Toolchain
sgc
Commits
67d6ae2a
Commit
67d6ae2a
authored
Aug 31, 2018
by
Philipp Nowinski
Browse files
[BUGFIX] fix default command
parent
f8694a86
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/tasks/default.js
View file @
67d6ae2a
...
...
@@ -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
();
});
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment