mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 17:05:51 +01:00
closes #4791
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,6 +2,7 @@ npm-debug.log
|
||||
node_modules/
|
||||
sftp-config.json
|
||||
config.json
|
||||
jsconfig.json
|
||||
public/src/nodebb.min.js
|
||||
!src/views/config.json
|
||||
public/css/*.css
|
||||
|
||||
@@ -12,9 +12,11 @@
|
||||
};
|
||||
|
||||
function forkChild(message, callback) {
|
||||
var child = fork('./bcrypt', {
|
||||
silent: true
|
||||
});
|
||||
var forkProcessParams = {};
|
||||
if(global.v8debug || parseInt(process.execArgv.indexOf('--debug'), 10) !== -1) {
|
||||
forkProcessParams = {execArgv: ['--debug=' + (5859), '--nolazy']};
|
||||
}
|
||||
var child = fork('./bcrypt', [], forkProcessParams);
|
||||
|
||||
child.on('message', function(msg) {
|
||||
if (msg.err) {
|
||||
|
||||
Reference in New Issue
Block a user