oni icon indicating copy to clipboard operation
oni copied to clipboard

Opening devtools when opening in terminal

Open joselevelsup opened this issue 8 years ago • 6 comments

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 oni to PATH
  • Execute oni from terminal

joselevelsup avatar Jul 29 '18 20:07 joselevelsup

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.

oni-bot avatar Jul 29 '18 20:07 oni-bot

@joselevelsup Are you running a production or development build? This usually happens only on the development build.

badosu avatar Aug 21 '18 13:08 badosu

Hey @badosu This is from production. I downloaded it from here

joselevelsup avatar Aug 22 '18 17:08 joselevelsup

Any news on this? It still occurs. I even uninstall and reinstall oni and opened from the terminal but the issue still occurs.

joselevelsup avatar Oct 18 '18 02:10 joselevelsup

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.

CrossR avatar Oct 18 '18 20:10 CrossR

So I would have to change my NODE_ENV to something else like production? Cause right now my NODE_ENV is set to dev.

joselevelsup avatar Oct 18 '18 20:10 joselevelsup