Line

You are reading docs for v0.8. See latest (v0.9)

ui/client/features/dev-server/services/DevServerAck

"Starting a dev server runs your project's code, so you see the exact command once." Remembered per project AND per command text: when package.json's script changes, the question comes back.

Cockpit client (features), v0.8. Source: ui/client/features/dev-server/services/DevServerAck.ts.

Functions#

hasSeenCommand()#

hasSeenCommand(root, commandText): boolean

Defined in: ui/client/features/dev-server/services/DevServerAck.ts:19

Has this project's current command already been shown and accepted?

Parameters#

root

string | null

commandText

string | null

Returns#

boolean


rememberCommand()#

rememberCommand(root, commandText): void

Defined in: ui/client/features/dev-server/services/DevServerAck.ts:25

Remember that this project's command was shown and accepted.

Parameters#

root

string | null

commandText

string | null

Returns#

void