Merge pull request #2112 from KapitanOczywisty/javascriptDefaults

Update example: allow peek definition
This commit is contained in:
Alexandru Dima 2020-09-17 22:24:02 +02:00 committed by GitHub
commit 45279f68e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 18 deletions

View file

@ -816,6 +816,8 @@ function createSimpleServer(rootDir, port) {
});
}
gulp.task('generate-test-samples', taskSeries(generateTestSamplesTask));
gulp.task('simpleserver', taskSeries(generateTestSamplesTask, function() {
const SERVER_ROOT = path.normalize(path.join(__dirname, '../'));
createSimpleServer(SERVER_ROOT, 8080);