Parallel dev servers

I need to both run plasmo dev --verbose and plasmo dev --verbose --target=firefox-mv3, but when I run the latter I get
πŸ”΅ INFO | Starting the extension development server...
🟑 1 | Starting dev server on localhost:52111, HMR on localhost:52112...
🟑 2 | Creating Manifest Factory...
🟑 3 | Loaded env from .env.local
🟑 4 | Loaded env from .env
🟑 5 | Ensure exists: C:\repositories\extensions\youtube-time-manager\.plasmo
🟑 6 | Busting large build cache, size: 1.81 GB
πŸ”΄ ERROR | EBUSY: resource busy or locked, unlink 'C:\repositories\extensions\youtube-time-manager\.plasmo\cache\parcel\data.mdb'
🟑 7 | Error: EBUSY: resource busy or locked, unlink 'C:\repositories\extensions\youtube-time-m anager\.plasmo\cache\parcel\data.mdb'
πŸ”΄ EXIT | πŸ‘‹ Good bye and have a great day!
πŸ”΅ INFO | Starting the extension development server...
🟑 1 | Starting dev server on localhost:52111, HMR on localhost:52112...
🟑 2 | Creating Manifest Factory...
🟑 3 | Loaded env from .env.local
🟑 4 | Loaded env from .env
🟑 5 | Ensure exists: C:\repositories\extensions\youtube-time-manager\.plasmo
🟑 6 | Busting large build cache, size: 1.81 GB
πŸ”΄ ERROR | EBUSY: resource busy or locked, unlink 'C:\repositories\extensions\youtube-time-manager\.plasmo\cache\parcel\data.mdb'
🟑 7 | Error: EBUSY: resource busy or locked, unlink 'C:\repositories\extensions\youtube-time-m anager\.plasmo\cache\parcel\data.mdb'
πŸ”΄ EXIT | πŸ‘‹ Good bye and have a great day!
avi12
avi12β€’72d ago
@louis Possibly need to fix with a PR πŸ™ˆ
lab
labβ€’72d ago
hmm interesting It looks like the cache was not busted entirely?..
avi12
avi12β€’72d ago
Again, I need to run plasmo dev and plasmo dev --target=firefox-mv3 in parallel
lab
labβ€’72d ago
ooh right that'd keep on trying to hit the same cache file... one solution is to spawn a new random cache for each plasmo dev lol maybe with a --parallel flag, it should set a random cache dir
avi12
avi12β€’70d ago
Oki If you're curious, I need to launch multiple dev servers is to test cross browser data synchronization OK that's amazing Somehow, after automagically upgrading to 0.85.0 it got resolved without any additional flags
Want results from more Discord servers?
Add your server
More Posts
Absolutely! In Plasmo, to send a messageAbsolutely! In Plasmo, to send a message from a side panel to a content script in the main world, yoHow to sendToBackground from main worldi've try all of messaging method but background still not receive anythingHow to fetch current tab localStorage?How to use this storage Api in plasmo to to fetch the localStorage of the current open tab?. And whHow can I open the side panel programmatically?I am interested in opening the side panel programmatically by messaging the background script from t@Pallas#2819 I keep getting this error@Pallas I keep getting this error when I run `pnpm build`: "🟣 Plasmo v0.84.2 πŸ”΄ The Browser Extensibutton click inside CSUI closes the CSUIWhen I click on a button inside the injected CSUI, the whole component is closing. I am using a useebackground errorIm using the with background example, I don't see any console log on the service worker. How can I anyone got any good example of CSUI lifecycle?I have been going through the official docs back and forth but still having tough time to fully grasQuick screen changeHere is a simple code that i have developed. I was wandering how i can avoid the quick screen changePermission Denied Error on Firefox mv2I am running a content script which has an async function that makes an api call to fetch some data Rendering issue on single page application (SPA) like youtubeI am trying to make something for youtube where i am using inline anchor. I want to inject a button Custom Font Isn't Working on TwitterI've made a simple code to change the font on websites like Stack Overflow and Twitter. It works on Build variable to indicate "background" or "content" script?Right now the only thing I can do to determine if a shared function is running in content or backgrohow can I pcik suffix for files from lib, like main.web.js & main.native.js?I am using a lib which exports both versions of files. my issue is it keeps resolving to the native useStorage makes extension window tiny.every time i use the useStorage hook my windows resizes it's driving me crazy const [datas] = useStoI am trying to console.log a string but I am not quite sure where it is. Where do I see console.logWhere do I see console.log messages written in the popup.tsx file?Unable to install storage API in my projectstarted a new project recently and the API is not getting installed locally, whenever I try to "pnpmCertain websites block content scriptsMy content script UI works on nearly all websites except some, in particular Reddit. Here's what I sCreate an anchor that selects every web pagehow would i properly create an anchor that selects the top level element. the goal is to create a wiHow to send some data from background.ts to content.ts fileI am trying to send a string from background.ts file to content.ts file. But I cannot find any docum