Skip to content

Commit 2943435

Browse files
committed
1 parent ec7d824 commit 2943435

File tree

4 files changed

+966
-9
lines changed

4 files changed

+966
-9
lines changed

cli.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ const open =
8181
reload: !!~process.argv.indexOf('--reload'),
8282
module: !!~process.argv.indexOf('--module'),
8383
static: !!~process.argv.indexOf('--static'),
84+
host: ( !!~process.argv.indexOf('--localhost-only') ) ? '127.0.0.1' : null,
85+
noDirListing: !!~process.argv.indexOf('--no-dir-listing'),
8486
credentials,
8587
});
8688

0 commit comments

Comments
 (0)