настройка webpack
This commit is contained in:
12
node_modules/worker-farm/tests/debug.js
generated
vendored
Normal file
12
node_modules/worker-farm/tests/debug.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
'use strict'
|
||||
|
||||
const workerFarm = require('../')
|
||||
, workers = workerFarm(require.resolve('./child'), ['args'])
|
||||
|
||||
|
||||
workers.args(function(err, result) {
|
||||
console.log(result);
|
||||
workerFarm.end(workers)
|
||||
console.log('FINISHED')
|
||||
process.exit(0)
|
||||
})
|
||||
Reference in New Issue
Block a user