once -> on
parent
50a54a152c
commit
82c8686bfb
|
@ -10,7 +10,7 @@ const { options, verbose, dist, imports } = workerData
|
|||
|
||||
options.isCustomElement = Function('return ' + options.isCustomElement)()
|
||||
|
||||
parentPort.once('message', job => {
|
||||
parentPort.on('message', job => {
|
||||
let [currentPage, { page, files }] = job.entries().next().value
|
||||
|
||||
console.log(
|
||||
|
|
Loading…
Reference in New Issue