MCPcopy
hub / github.com/ionic-team/capacitor / serveCommand

Function serveCommand

cli/src/tasks/serve.ts:4–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import { fatal } from '../errors';
3
4export async function serveCommand(): Promise<void> {
5 fatal(
6 `The serve command has been removed.\n` +
7 `Use a third-party tool for serving single page apps, such as ${c.strong(
8 'serve',
9 )}: ${c.strong('https://www.npmjs.com/package/serve')}`,
10 );
11}

Callers 1

runProgramFunction · 0.85

Calls 1

fatalFunction · 0.90

Tested by

no test coverage detected