You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I call the child.js process in a fork, but when to build with Parcel that child.js file is not found because it was not built.
💻 Code Sample
// index.jsconst{ fork }=require('child_process');constforked=fork('child.js');forked.on('message',(msg)=>{console.log('Message from child',msg);});forked.send({hello: 'world'});
// child.jsprocess.on('message',(msg)=>{console.log('Message from parent:',msg);});letcounter=0;setInterval(()=>{process.send({counter: counter++});},1000);
🐛 bug report
🎛 Configuration (.babelrc, package.json, cli command)
🤔 Expected Behavior
child.js module is built in a separate file
😯 Current Behavior
child.js is not built
💁 Possible Solution
🔦 Context
I call the child.js process in a fork, but when to build with Parcel that child.js file is not found because it was not built.
💻 Code Sample
🌍 Your Environment
The text was updated successfully, but these errors were encountered: