react-native/local-cli/server
Brent Vatne b80e2c8799 Move packager initialization events to reporter
Summary:
This PR depends on #13172

Packager events are mostly logged through the TerminalReporter by default (#13172 makes this configurable). But there are a few things that aren't passed through TerminalReporter.

- We [log a banner with some information about the port and what's going on](8c7b32d5f1/local-cli/server/server.js (L22-L32))
- Also [a message about looking for JS files](8c7b32d5f1/local-cli/server/server.js (L34-L38)) (not sure what that is for / if it is useful beyond telling the user what directory root they started the packager in, but that's another thing).
- If the packager fails to start, then [we log an error message](8c7b32d5f1/local-cli/server/server.js (L41-L61)).

This pull request changes those log messages to be handled by TerminalReporter. I tri
Closes https://github.com/facebook/react-native/pull/13209

Differential Revision: D4809759

Pulled By: davidaurelio

fbshipit-source-id: 2c427ec0c1accaf54bf6b2d1da882cd6bfaa7829
2017-03-31 02:17:22 -07:00
..
middleware Update message with instructions 2017-03-20 10:49:43 -07:00
util RN: Add "Maintain Priority" Checkbox 2017-03-28 18:50:56 -07:00
checkNodeVersion.js Use a separate babel config for the local-cli and the packager 2016-05-21 06:58:26 -07:00
formatBanner.js fix banner for old node version 2016-06-22 03:43:33 -07:00
runServer.js Move packager initialization events to reporter 2017-03-31 02:17:22 -07:00
server.js Move packager initialization events to reporter 2017-03-31 02:17:22 -07:00