MCPcopy Index your code
hub / github.com/ptmt/react-native-macos / createNonPersistentServer

Function createNonPersistentServer

packager/react-packager.js:126–137  ·  view source on GitHub ↗
(options: Options)

Source from the content-addressed store, hash-verified

124}
125
126function createNonPersistentServer(options: Options): Server {
127 const serverOptions = {
128 // It's unsound to set-up the reporter here,
129 // but this allows backward compatibility.
130 reporter: options.reporter == null
131 ? require('./src/lib/reporting').nullReporter
132 : options.reporter,
133 ...options,
134 watch: !options.nonPersistent,
135 };
136 return createServer(serverOptions);
137}

Callers 1

react-packager.jsFile · 0.85

Calls 2

requireFunction · 0.85
createServerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…