diff --git a/README.md b/README.md index fb4e1c2..7edc7a5 100644 --- a/README.md +++ b/README.md @@ -180,6 +180,10 @@ Copyright (c) 2018 Norbert Renner and [contributors](https://github.com/nrenner/ Copyright (c) 2014-2016 GitHub, Inc.; [MIT License](https://github.com/github/fetch/blob/master/LICENSE) - [Promise Polyfill](https://github.com/taylorhakes/promise-polyfill) Copyright (c) 2014 Taylor Hakes, Copyright (c) 2014 Forbes Lindesay; [MIT License](https://github.com/taylorhakes/promise-polyfill/blob/master/LICENSE) +- [Leaflet.FileLayer](https://github.com/makinacorpus/Leaflet.FileLayer) + Copyright (c) 2012 Makina Corpus; [MIT License](https://github.com/makinacorpus/Leaflet.FileLayer/blob/master/LICENSE) +- [togeojson](https://github.com/mapbox/togeojson) + Copyright (c) 2016 Mapbox All rights reserved.; [2-clause BSD License](https://github.com/mapbox/togeojson/blob/master/LICENSE) - [Leaflet.GeometryUtil](https://github.com/makinacorpus/Leaflet.GeometryUtil) Copyright (c) 2013, Makina Corpus; [BSD 3-Clause License](https://github.com/makinacorpus/Leaflet.GeometryUtil/blob/master/LICENSE) - [leaflet-distance-markers](https://github.com/adoroszlai/leaflet-distance-markers) diff --git a/gulpfile.js b/gulpfile.js index e2b23a7..16b7d7f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -151,14 +151,6 @@ gulp.task('locales', function() { return gulp.src(paths.locales).pipe(gulp.dest(paths.dest + '/locales')); }); -gulp.task('serve', function() { - server.init({ - server: { - baseDir: './' - } - }); -}); - gulp.task('reload', function(done) { server.reload(); done(); @@ -334,6 +326,17 @@ gulp.task( }, 'default') ); +gulp.task( + 'serve', + gulp.series('debug', function(cb) { + server.init({ + server: { + baseDir: './' + } + }); + cb(); + }) +); gulp.task('release:zip', function() { gutil.log(gutil.colors.green('Build brouter-web.' + nextVersion + '.zip')); return gulp diff --git a/index.html b/index.html index 2c0dcfc..68e82c1 100644 --- a/index.html +++ b/index.html @@ -81,6 +81,11 @@ Load