Skip to content
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

Show additional urls for build files in stdout #40

Merged
merged 1 commit into from
Nov 19, 2018

Conversation

tdgroot
Copy link
Contributor

@tdgroot tdgroot commented Nov 12, 2018

I thought this would be a nice addition!

When starting the program, output would look like the following:

https://127.0.0.1:40513
https://127.0.0.1:40513/__bs/build.json	(Generates the configuration needed for the Optimizer)
https://127.0.0.1:40513/__bs/loaders.js	(Generates the JavaScript needed to load additional bundles)
https://127.0.0.1:40513/__bs/seed.json	(Generates a dump of the current state so that you can pick up where you left off)

This way you could open the build urls directly in the browser, instead of fiddling with the given url to open it.

Edit: changed the output sample.

@shakyShane
Copy link
Contributor

@tdgroot looks good.

ideally after this, we should add a flag to also output this information in JSON format so that it can be consumed by other tools - that was the original reason for outputting only the url

but for now this is good 👍

@shakyShane shakyShane merged commit b28f15d into WeareJH:master Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants