Made changes from PR request
This commit is contained in:
parent
ac9c46e67b
commit
eed4e89318
File diff suppressed because it is too large
Load Diff
|
@ -3,7 +3,7 @@ const fs = require('fs')
|
|||
let scraper = null
|
||||
let currentSort = null
|
||||
let currentVideoId = null
|
||||
//fs.writeFileSync('D:/Workspace/textELEC.txt', 'hallololol')
|
||||
|
||||
process.on('message', (msg) => {
|
||||
if (msg === 'end') {
|
||||
process.exit(0)
|
||||
|
|
|
@ -137,8 +137,7 @@ export default Vue.extend({
|
|||
// we need the path from the working directory to fork correctly
|
||||
if (this.commentProcess === null) {
|
||||
this.commentProcess = fork('./src/process/comment-module-controller.js', ['args'], {
|
||||
stdio: 'pipe',
|
||||
cwd: path.join(__dirname, '../../')
|
||||
stdio: ['pipe', 'pipe', 'pipe', 'ipc']
|
||||
})
|
||||
this.commentProcess.on('message', (msg) => {
|
||||
if (msg.error === null) {
|
||||
|
|
Loading…
Reference in New Issue