Home
last modified time | relevance | path

Searched refs:devServer (Results 1 – 10 of 10) sorted by relevance

/expo/packages/@expo/cli/src/start/server/webpack/__tests__/
H A DWebpackBundlerDevServer-test.ts29 devServer['postStartAsync'] = jest.fn(async () => {});
30 await devServer.startAsync({ location: {}, ...options });
31 return devServer;
38 devServer['clearWebProjectCacheAsync'] = jest.fn();
39 devServer['loadConfigAsync'] = jest.fn(async () => ({}));
52 const devServer = await getStartedDevServer(); constant
55 expect(devServer['postStartAsync']).toHaveBeenCalled();
57 expect(devServer.getInstance()).toEqual({
104 const devServer = await getStartedDevServer(); constant
105 devServer.broadcastMessage('reload', { foo: true });
[all …]
/expo/packages/@expo/cli/src/start/server/metro/__tests__/
H A DMetroBundlerDevServer-test.ts38 devServer['getAvailablePortAsync'] = jest.fn(() => Promise.resolve(3000));
40 devServer['postStartAsync'] = jest.fn(async () => {});
41 await devServer.startAsync({ location: {}, ...options });
42 return devServer;
47 const devServer = await getStartedDevServer(); constant
49 expect(devServer['postStartAsync']).toHaveBeenCalled();
51 expect(devServer.getInstance()).toEqual({
125 const devServer = await getStartedDevServer(); constant
127 expect(devServer['postStartAsync']).toHaveBeenCalled();
163 const devServer = await getStartedDevServer(); constant
[all …]
/expo/packages/@expo/cli/src/start/server/__tests__/
H A DBundlerDevServer-test.ts113 await devServer.startAsync({ location: {} });
114 return devServer;
119 const devServer = await getRunningServer(); constant
120 devServer.broadcastMessage('reload', { foo: true });
130 await devServer.startAsync({
140 const devServer = await getRunningServer(); constant
150 const devServer = await getRunningServer(); constant
151 devServer.isDevClient = isDevClient;
351 await devServer.startAsync({ location: {} });
363 await devServer.startAsync({ location: {} });
[all …]
/expo/apps/test-suite/
H A Dwebpack.config.js6 if (config.devServer) {
7 delete config.devServer.watchOptions;
/expo/apps/native-component-list/
H A Dwebpack.config.js6 if (config.devServer) {
7 delete config.devServer.watchOptions;
/expo/packages/@expo/cli/src/start/interface/
H A DinteractiveActions.ts31 const devServer = this.devServerManager.getDefaultDevServer(); constant
33 const nativeRuntimeUrl = devServer.getNativeRuntimeUrl()!;
34 const interstitialPageUrl = devServer.getRedirectUrl();
65 const serverUrl = devServer.getDevServerUrl();
/expo/packages/@expo/cli/src/export/
H A DexportStaticAsync.ts114 const devServer = devServerManager.getDefaultDevServer(); constant
115 assert(devServer instanceof MetroBundlerDevServer);
118 devServer.getStaticResourcesAsync({ mode: 'production', minify, includeMaps }),
119 devServer.getStaticRenderFunctionAsync({
135 let html = await devServer.composeResourcesWithHtml({
158 const apiRoutes = await exportApiRoutesAsync({ outputDir, server: devServer, appDir });
/expo/packages/@expo/cli/src/start/server/
H A DDevServerManager.ts145 for (const devServer of devServers) { constant
146 devServer.isDevClient = isUsingDevClient;
147 const urlCreator = devServer.getUrlCreator();
/expo/packages/@expo/cli/src/start/server/webpack/
H A DWebpackBundlerDevServer.ts30 devServer?: {
192 config.devServer
/expo/docs/pages/guides/
H A Dcustomizing-webpack.mdx35 config.devServer.compress = false;