Skip to content

Development Port doesn't auto-closes after failing of gatsby-develop #115

@Neilblaze

Description

@Neilblaze

Describe the bug

When a user is running GatsbyHub without yarn install or npm install, GatsbyHub populates a preview that it has started running on port 8000 i.e. the default dev port as a result of gatsby develop but instantly fails. Until this part it's great, but the development port i.e. port 8000 should also autoclose with that failing instance with the ERR msg. The port is kept open until VSCode is restarted. This should be fixed. I think it requires a conditional check if the develop fails the port should also autoclose.

To Reproduce
Steps to reproduce the behavior:

  1. Open any Gatsby starter file without npm or yarn pre-installed.
  2. Click on 'GatsbyHub'
  3. Look at "GatsbyHub" button on the VSC footer.
  4. See error!

Screenshots

If required I can provide it in the comment section.

Desktop (please complete the following information):

  • OS: Windows, Ubuntu LTS
  • Browser : Chrome, Firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions