Opened 3 years ago
Last modified 3 years ago
#54095 new enhancement
Echo local wp-env URL when running env:start
Reported by: | danfarrow | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
In an effort to make the wp-env tools a wee bit friendly to new devs I’ve added a console.log
to echo the local URL when running env:start
http://127.0.0.1:
is hard-coded, the port number is added using the variable process.env.LOCAL_PORT
On my machine the console output looks like this:
$ npm run env:start > WordPress@5.9.0 env:start > node ./tools/local-env/scripts/start.js Starting wordpress-develop_mysql_1 ... done Starting wordpress-develop_php_1 ... done Starting wordpress-develop_wordpress-develop_1 ... done ------------------------------------------- wp-env now running on http://127.0.0.1:8889 -------------------------------------------
Change History (3)
This ticket was mentioned in PR #1664 on WordPress/wordpress-develop by danfarrow.
3 years ago
#1
Note: See
TracTickets for help on using
tickets.
In an effort to make the wp-env tools a wee bit friendly to new devs I’ve added a
console.log
to echo the local URL when runningenv:start
http://127.0.0.1:
is hard-coded, the port number is added using the variableprocess.env.LOCAL_PORT
On my machine the console output looks like this:
Trac ticket: https://core.trac.wordpress.org/ticket/54095#ticket