zouhir / jarvis

A very intelligent browser based Webpack dashboard
5.44k stars 191 forks source link

Jarvis server not working on build #120

Closed jimblue closed 6 years ago

jimblue commented 6 years ago

Hi!

I'm using Jarvis with webpack 3.11. It's perfectly working on dev but not on prod.

I get the follow Jarvis console message in both environment: [JARVIS] Starting dashboard on: http://localhost:3003

I'm able to navigate to this url on dev environment but in prod I get the following message in browser:

screen shot 2018-02-20 at 15 31 26
lukeed commented 6 years ago

Hey! The server shuts down once the build had been completed/terminated. For production builds, this means that JARVIS is only visible and accessible for the 8-xx seconds that it takes for webpack to build.

jimblue commented 6 years ago

Hello! Thanks for your fast answer!! Do you think it's possible to change this behaviour? IMO it's important to have the time to watch Jarvis build report to optimise next build.

lukeed commented 6 years ago

lol no problem, it could be done. It'd have to be behind a option/flag since this (probably) isn't generally wanted.

jimblue commented 6 years ago

Behind an option to toggle this behaviour would be ideal 👍 !

stephencookdev commented 6 years ago

Raised a PR for this, if you wanna check out if that solves what you're trying to do? https://github.com/zouhir/jarvis/pull/122

jimblue commented 6 years ago

122 is perfectly working! Thank you @stephencookdev !

zouhir commented 6 years ago

I just merged #122 !

jimblue commented 6 years ago

Hi @zouhir !

This is working great on the merge branch but it's not on npm actual release.

Any plan to push this to npm?

Thank you