UNPKG
@boat/cli
Version:
latest (1.0.0-alpha.2)
1.0.0-alpha.2
1.0.0-alpha.1
1.0.0-alpha.0
A simple CLI to start your Boat projects
github.com/getcanal/boat-cli
getcanal/boat-cli
@boat/cli
/
src
/
serve.ts
9 lines
(8 loc)
•
223 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
*
as
shell
from
'shelljs'
;
import
*
as
program
from
'commander'
;
import
*
as
chalk
from
'chalk'
;
import
*
as
typescript
from
'typescript'
;
export
function
serve
(
) { shell.
exec
(
'tsc'
); shell.
exec
(
'node .'
); }