Preparing search index...
The search index is not available
@xarc/app-dev
@xarc/app-dev
lib/dev-admin/admin-server
AdminServer
Class AdminServer
Index
Constructors
constructor
Properties
_admin
Http
_app
_app
Log
Level
_app
Watcher
_ctrlCExit
_full
App
Log
Url
_fully
Started
_hide
Menu
Timer
_io
_menu
_message
Id
_opts
_pass
Thru
_ports
_proxy
_save
Webpack
Report
Data
_servers
_shutdown
_start
Defer
_start
Time
_status
Line
_update
Proxy
Timer
_wds
_webpack
Dev
Relay
Methods
_change
Log
Show
Level
_quit
defer
Logs
Output
get
Logs
get
Server
handle
Server
Exit
handle
User
Input
kill
log
Time
make
Menu
pass
Thru
Line
Output
process
Command
save
Line
Output
send
Msg
show
Full
Log
Url
Message
show
Menu
signal
start
start
App
Server
start
Proxy
Server
start
Server
start
Webpack
Dev
Server
toggle
Full
Log
Url
Message
update
Proxy
Server
update
Status
wait
For
App
Server
Start
watch
Server
Constructors
constructor
new
Admin
Server
(
args
,
options
)
:
AdminServer
Parameters
args
:
any
options
:
any
Returns
AdminServer
Properties
_admin
Http
_admin
Http
:
AdminHttp
_app
_app
:
any
_app
Log
Level
_app
Log
Level
:
any
_app
Watcher
_app
Watcher
:
any
_ctrlCExit
_ctrlCExit
:
any
_full
App
Log
Url
_full
App
Log
Url
:
any
_fully
Started
_fully
Started
:
any
_hide
Menu
Timer
_hide
Menu
Timer
:
any
_io
_io
:
any
_menu
_menu
:
any
_message
Id
_message
Id
:
any
_opts
_opts
:
any
_pass
Thru
_pass
Thru
:
any
_ports
_ports
:
ProcessPorts
_proxy
_proxy
:
any
_save
Webpack
Report
Data
_save
Webpack
Report
Data
:
any
_servers
_servers
:
any
_shutdown
_shutdown
:
any
_start
Defer
_start
Defer
:
any
_start
Time
_start
Time
:
any
_status
Line
_status
Line
:
any
_update
Proxy
Timer
_update
Proxy
Timer
:
any
_wds
_wds
:
any
_webpack
Dev
Relay
_webpack
Dev
Relay
:
any
Methods
_change
Log
Show
Level
_change
Log
Show
Level
(
)
:
void
Returns
void
_quit
_quit
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
defer
Logs
Output
defer
Logs
Output
(
context
,
showFullLink
?
,
delay
?
)
:
void
Parameters
context
:
any
showFullLink
:
boolean
= true
delay
:
number
= 250
Returns
void
get
Logs
get
Logs
(
name
)
:
string
[]
Get the logs of a server the admin manages. name could be:
"app" - app server
"wds" - webpack dev server
Parameters
name
:
string
Returns
string
[]
logs in an array of strings
get
Server
get
Server
(
name
)
:
any
Parameters
name
:
any
Returns
any
handle
Server
Exit
handle
Server
Exit
(
name
)
:
void
Parameters
name
:
any
Returns
void
handle
User
Input
handle
User
Input
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
kill
kill
(
name
,
sig
)
:
Promise
<
void
>
Parameters
name
:
any
sig
:
any
Returns
Promise
<
void
>
log
Time
log
Time
(
msg
)
:
void
Parameters
msg
:
any
Returns
void
make
Menu
make
Menu
(
)
:
void
Returns
void
pass
Thru
Line
Output
pass
Thru
Line
Output
(
tag
,
input
,
output
)
:
Interface
Parameters
tag
:
any
input
:
any
output
:
any
Returns
Interface
process
Command
process
Command
(
str
)
:
Promise
<
any
>
Parameters
str
:
any
Returns
Promise
<
any
>
save
Line
Output
save
Line
Output
(
context
)
:
void
Parameters
context
:
any
Returns
void
send
Msg
send
Msg
(
name
,
data
)
:
Promise
<
void
>
Parameters
name
:
any
data
:
any
Returns
Promise
<
void
>
show
Full
Log
Url
Message
show
Full
Log
Url
Message
(
time
,
url
)
:
void
Parameters
time
:
any
url
:
any
Returns
void
show
Menu
show
Menu
(
force
?
)
:
void
Parameters
force
:
any
= undefined
Returns
void
signal
signal
(
name
,
sig
)
:
Promise
<
void
>
Parameters
name
:
any
sig
:
any
Returns
Promise
<
void
>
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
start
App
Server
start
App
Server
(
debug
?
)
:
Promise
<
void
>
Parameters
debug
:
any
= undefined
Returns
Promise
<
void
>
start
Proxy
Server
start
Proxy
Server
(
debug
?
)
:
Promise
<
void
>
Parameters
debug
:
any
= undefined
Returns
Promise
<
void
>
start
Server
start
Server
(
options
)
:
Promise
<
void
>
Parameters
options
:
any
Returns
Promise
<
void
>
start
Webpack
Dev
Server
start
Webpack
Dev
Server
(
debug
?
)
:
Promise
<
void
>
Parameters
debug
:
any
= undefined
Returns
Promise
<
void
>
toggle
Full
Log
Url
Message
toggle
Full
Log
Url
Message
(
serverName
)
:
void
Parameters
serverName
:
any
Returns
void
update
Proxy
Server
update
Proxy
Server
(
newPorts
,
force
?
)
:
void
Parameters
newPorts
:
ProcessPorts
force
:
boolean
= false
Returns
void
update
Status
update
Status
(
line
?
)
:
void
Parameters
line
:
any
= undefined
Returns
void
wait
For
App
Server
Start
wait
For
App
Server
Start
(
info
)
:
Promise
<
unknown
>
Parameters
info
:
any
Returns
Promise
<
unknown
>
watch
Server
watch
Server
(
name
)
:
void
Parameters
name
:
any
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_admin
Http
_app
_app
Log
Level
_app
Watcher
_ctrlCExit
_full
App
Log
Url
_fully
Started
_hide
Menu
Timer
_io
_menu
_message
Id
_opts
_pass
Thru
_ports
_proxy
_save
Webpack
Report
Data
_servers
_shutdown
_start
Defer
_start
Time
_status
Line
_update
Proxy
Timer
_wds
_webpack
Dev
Relay
_change
Log
Show
Level
_quit
defer
Logs
Output
get
Logs
get
Server
handle
Server
Exit
handle
User
Input
kill
log
Time
make
Menu
pass
Thru
Line
Output
process
Command
save
Line
Output
send
Msg
show
Full
Log
Url
Message
show
Menu
signal
start
start
App
Server
start
Proxy
Server
start
Server
start
Webpack
Dev
Server
toggle
Full
Log
Url
Message
update
Proxy
Server
update
Status
wait
For
App
Server
Start
watch
Server
@xarc/app-dev
Loading...
Get the logs of a server the admin manages. name could be: