File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ export default async function run(
3333 noInput = false ,
3434 noReload = false ,
3535 preInstall = false ,
36+ noReloadManagerExtension = false ,
3637 sourceDir,
3738 watchFile,
3839 watchIgnored,
@@ -197,6 +198,7 @@ export default async function run(
197198 chromiumBinary,
198199 chromiumProfile,
199200 customChromiumPrefs,
201+ noReloadManagerExtension,
200202 } ;
201203
202204 const chromiumRunner = await createExtensionRunner ( {
Original file line number Diff line number Diff line change @@ -139,7 +139,9 @@ export class ChromiumExtensionRunner {
139139 this . reloadManagerExtension = await this . createReloadManagerExtension ( ) ;
140140
141141 // Start chrome pointing it to a given profile dir
142- const extensions = [ this . reloadManagerExtension ]
142+ const extensions = (
143+ this . params . noReloadManagerExtension ? [ ] : [ this . reloadManagerExtension ]
144+ )
143145 . concat ( this . params . extensions . map ( ( { sourceDir } ) => sourceDir ) )
144146 . join ( ',' ) ;
145147
You can’t perform that action at this time.
0 commit comments