From 0c8ac8f1ee45beae94b80f2945963971d87bca07 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Wed, 15 Apr 2020 11:14:45 +0200 Subject: [PATCH] dont close dev server when tests finish --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 682ee900..e24398f3 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(); } ); } );