fix(macos): proper work under MacOS X
This commit is contained in:
parent
c904f8b114
commit
d2bf25de6b
@ -191,7 +191,7 @@ const startSphinx = (callback) => {
|
|||||||
|
|
||||||
const config = `${sphinxConfigDirectory}/sphinx.conf`
|
const config = `${sphinxConfigDirectory}/sphinx.conf`
|
||||||
const options = ['--config', config]
|
const options = ['--config', config]
|
||||||
if(process.platform === 'linux')
|
if(!(/^win/.test(process.platform)))
|
||||||
{
|
{
|
||||||
options.push('--nodetach')
|
options.push('--nodetach')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user