Opening devtools when opening in terminal
Oni Version: 0.3.6 Stable Operating System: macOS 10.13.6
Issue: Executing oni from the terminal opens up the editor AND the chrome devtools.
Expected behavior: Only the editor should be opening up
Actual behavior: Chrome devtools is opened up as well as the editor
Steps to reproduce:
- Add
onito PATH - Execute
onifrom terminal
Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.
@joselevelsup Are you running a production or development build? This usually happens only on the development build.
Hey @badosu This is from production. I downloaded it from here
Any news on this? It still occurs. I even uninstall and reinstall oni and opened from the terminal but the issue still occurs.
I've not been able to reproduce this, so could be something specific to your machine.
Is it possible that you have some form of node environment variable set? I think we check the NODE_ENV one as part of checking if we are running in development mode, and then if we are, open the dev tools.
So I would have to change my NODE_ENV to something else like production? Cause right now my NODE_ENV is set to dev.