Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions bin/jsserve.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ program
.option('--solid', 'Enable full Solid protocol features')
.option('--live', 'Enable live reload (default: true)')
.option('--no-live', 'Disable live reload')
.option('--git', 'Enable git HTTP backend (default: true)')
.option('--no-git', 'Disable git HTTP backend')
.option('-q, --quiet', 'Suppress all output')
.addHelpText('after', `
Examples:
Expand Down Expand Up @@ -247,6 +249,11 @@ async function run(directory, options) {
jssArgs.push('--live-reload');
}

// Git HTTP backend (default: enabled)
if (options.git !== false) {
jssArgs.push('--git');
}

// Debug mode
if (options.debug) {
console.log(chalk.gray(' JSS args:'), jssArgs.join(' '));
Expand Down