councilforeconed / interactive-activities

Council for Economic Education
http://interactives.councilforeconed.org
Mozilla Public License 2.0
6 stars 2 forks source link

Print port on command line #137

Closed jugglinmike closed 9 years ago

jugglinmike commented 9 years ago

The server's port number is not always explicitly specified (it may be assigned dynamically by the operating system or it may be set via wrapper scripts). Print the port number to standard output in order to make the port number easier to discover when the server is started from the command line.

(example output)

Running "server:hang" (server) task
   info  - socket.io started
cloak running with express on port 49764
   info  - socket.io started
cloak running with express on port 60210
Top-level server running on port 8000
   info  - socket.io started
cloak running with express on port 50136