RunScript beta
Interface of @v12-engine/editor
ts
export interface RunScriptA script of the project that its list lets the editor run (editorFiles({ run })), as the dev server has it
Members
code
ts
code?: number | null;How it last ended, where it ended by itself
command
ts
command?: string;What package.json says it runs. None where it has no such script
lines
ts
lines: string[];Its last lines of output
script
ts
script: string;The name of the script in package.json
state
ts
state: 'stopped' | 'running' | 'stopping';Whether the script is running now, or stopped, or on the way to stop