Added compiling typescript files to develop command (#1307)

Issue1281
This commit is contained in:
Scuro Guardiano
2022-04-14 10:09:40 +02:00
committed by GitHub
parent 12c06b4c9d
commit d3104bf6ac

View File

@@ -29,7 +29,7 @@ export default async function({ port, directory }) {
Logger.info(`${f} changed: restarting...`)
child.kill("SIGINT")
execSync(`${babelPath} src -d dist`, {
execSync(`${babelPath} src -d dist --extensions \".ts,.js\"`, {
cwd: directory,
stdio: ["pipe", process.stdout, process.stderr],
})