diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-04-15 11:14:45 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-04-15 11:14:45 +0200 |
commit | 0c8ac8f1ee45beae94b80f2945963971d87bca07 (patch) | |
tree | 64160b665cdcf7752b15146a2af82ad7d7195275 /gulpfile.js | |
parent | 0bdc44826d83d048015a601d25a5cf337cc0c961 (diff) | |
download | fosdem-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.js | 4 |
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(); } ); } ); |