politeiagui icon indicating copy to clipboard operation
politeiagui copied to clipboard

[plugin-architecture] Improve console logs for `start` command

Open victorgcramos opened this issue 2 years ago • 0 comments

When you run yarn start on the plugins-structure dir, log messages are a little confusing. We should provide a cleaner log by default, and display the full logs using the --verbose or -v tag.

Ideally, we should display all plugins and apps, and where it's running on your localhost or network.

For example:

Compiled successfully on development mode!

[app] politeia:
    Local:            https://localhost:3000
    On Your Network:  https://<ip>:3000

[package] core:
    Local:            https://localhost:3002
    On Your Network:  https://<ip>:3002

[package] common-ui:
    Local:            https://localhost:3007
    On Your Network:  https://<ip>:3007

victorgcramos avatar Apr 28 '22 21:04 victorgcramos