MCPcopy Index your code
hub / github.com/angular/angular-cli / run

Function run

tests/e2e/assets/ssr-project-webpack/server.ts:52–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52function run(): void {
53 const port = process.env['PORT'] || 4000;
54
55 // Start up the Node server
56 const server = app();
57 server.listen(port, () => {
58 console.log(`Node Express server listening on http://localhost:${port}`);
59 });
60}
61
62// Webpack will replace 'require' with '__webpack_require__'
63// '__non_webpack_require__' is a proxy to Node 'require'

Callers 2

server.tsFile · 0.70
runStepsFunction · 0.50

Calls 2

appFunction · 0.85
logMethod · 0.65

Tested by

no test coverage detected