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
// TODO: Show warning in UI of extension that remains enabled
83
83
consterrorMessage=
84
-
'React Developer Tools: You are running multiple installations of the React Developer Tools extension, which will conflict with this development build of the extension.'+
84
+
'React Developer Tools: You are running multiple installations of the React Developer Tools extension, which will conflict with this development build of the extension.'+
85
85
'In order to prevent conflicts, this development build of the extension will be disabled. In order to continue local development, please disable or uninstall '+
86
86
'any other installations of the extension in your browser.';
// In this case, assume there are no duplicate exensions and show a warning about
102
102
// potential conflicts.
103
103
constwarnMessage=
104
-
'React Developer Tools: You are running an unrecognized installation of the React Developer Tools extension, which might conflict with other versions of the extension installed in your browser.'+
105
-
'Please make sure you only have a single version of the extension installed or enabled.'+
106
-
'If you are developing this extension locally, make sure to build the extension using the `yarn build:<browser>:dev` command.';
104
+
'React Developer Tools: You are running an unrecognized installation of the React Developer Tools extension, which might conflict with other versions of the extension installed in your browser.'+
105
+
'Please make sure you only have a single version of the extension installed or enabled.'+
106
+
'If you are developing this extension locally, make sure to build the extension using the `yarn build:<browser>:local` command.';
Copy file name to clipboardExpand all lines: packages/react-devtools/CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ Some changes requiring testing in the browser extension (e.g. like "named hooks"
57
57
```sh
58
58
cd<react-repo>
59
59
cd packages/react-devtools-extensions
60
-
yarn build:chrome:dev&& yarn test:chrome
60
+
yarn build:chrome:local&& yarn test:chrome
61
61
```
62
62
This will launch a standalone version of Chrome with the locally built React DevTools pre-installed. If you are testing a specific URL, you can make your testing even faster by passing the `--url` argument to the test script:
0 commit comments