MCPcopy Create free account
hub / github.com/ptmt/react-native-macos / startedCallback

Function startedCallback

local-cli/server/server.js:20–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 args.projectRoots = args.projectRoots.concat(args.root);
19
20 const startedCallback = logReporter => {
21 logReporter.update({
22 type: 'initialize_packager_started',
23 port: args.port,
24 projectRoots: args.projectRoots,
25 });
26
27 process.on('uncaughtException', error => {
28 logReporter.update({
29 type: 'initialize_packager_failed',
30 port: args.port,
31 error,
32 });
33
34 process.exit(11);
35 });
36 };
37
38 const readyCallback = logReporter => {
39 logReporter.update({

Callers 1

runServerFunction · 0.85

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…