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
avi12β’72d ago
@louis Possibly need to fix with a PR π
labβ’72d ago
hmm interesting
It looks like the cache was not busted entirely?..
avi12β’72d ago
Again, I need to run
plasmo dev
and plasmo dev --target=firefox-mv3
in parallellabβ’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β’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 flags2.1KMembers
View on DiscordWant results from more Discord servers?
More PostsAbsolutely! 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