'Working with yarn multiple workspaces in electron app

Can I use yarn multiple workspaces with electron ? I have a folder containe two separate projects one is a react project and the other is electron project , I want to be able to run both projects using only one npm start command (I want the electron desktop app to open and the react app to lunch) I was thinking of using yarn multiple workspaces and have a root package.json file that have a start script that start both projects . is that possible ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source