fix(macos): proper work under MacOS X

This commit is contained in:
Alexey Kasyanchuk 2018-02-04 02:05:47 +03:00
parent c904f8b114
commit d2bf25de6b

View File

@ -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')
} }