-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add devtron condition to devtools extension loader #238
Conversation
Maybe it's better to create a wiki page and link to it from the readme for the whole development section? |
Great idea! 👍 |
I'll try to write the first page about this tomorrow as i'm also writing the contributing guide. |
removed the readme changes ... |
This is even better than a shortcut 👍 |
@@ -154,6 +154,8 @@ function createPreviewWindow() { | |||
} | |||
|
|||
function addDevToolsExtension() { | |||
if (process.env.DEVTRON_DEV_TOOLS_PATH) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What would be the value of DEVTRON_DEV_TOOLS_PATH
if I decided to use it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that would be the node_modules path, as it is part of the devDependencies:
DEVTRON_DEV_TOOLS_PATH=./node_modules/devtron
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works! 😆
followup on #234.