Open vittal288 opened 8 years ago
I have to open HTML templates files from template directory instead of loading index.html from base directory
gulp.task('webserver', function() { gulp.src(gulpConfig.sourceDir) .pipe(server({ livereload: true, directoryListing:{ path:'templates' }, open: true })); });
Sorry, not sure I understand what you want here. By default the plugin serves up the index.html file within the folder you supply it. You can tell it to proxy requests to another server if you like.
I have to open HTML templates files from template directory instead of loading index.html from base directory
gulp.task('webserver', function() { gulp.src(gulpConfig.sourceDir) .pipe(server({ livereload: true, directoryListing:{ path:'templates' }, open: true })); });