aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2020-04-15 11:14:45 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2020-04-15 11:14:45 +0200
commit0c8ac8f1ee45beae94b80f2945963971d87bca07 (patch)
tree64160b665cdcf7752b15146a2af82ad7d7195275 /gulpfile.js
parent0bdc44826d83d048015a601d25a5cf337cc0c961 (diff)
downloadfosdem-2021-minimalism-presentation-0c8ac8f1ee45beae94b80f2945963971d87bca07.tar
fosdem-2021-minimalism-presentation-0c8ac8f1ee45beae94b80f2945963971d87bca07.tar.gz
dont close dev server when tests finish
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 682ee90..e24398f 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -88,7 +88,7 @@ gulp.task('test-qunit', function() {
name: 'test-server'
}
- connect.server( serverConfig )
+ let server = connect.server( serverConfig )
let testFiles = glob.sync('test/*.html' )
@@ -140,7 +140,7 @@ gulp.task('test-qunit', function() {
reject();
} )
.finally( () => {
- connect.serverClose();
+ server.close();
} );
} );