diff --git a/loader.js b/loader.js index 6320c6ab6a..eea0bf9c8a 100644 --- a/loader.js +++ b/loader.js @@ -231,7 +231,7 @@ fs.open(pathToConfig, 'r', function (err) { cwd: process.cwd(), }); - fs.writeFileSync(pidFilePath, process.pid); + fs.writeFileSync(pidFilePath, String(process.pid)); } async.series([