modernize backend to target the same ES and TS standards as the rest of the app
This commit is contained in:
parent
22f49db21f
commit
9beeca5942
29 changed files with 460 additions and 232 deletions
|
|
@ -8,20 +8,20 @@ import { execa } from 'execa';
|
|||
(async () => {
|
||||
// なぜかchokidarが動かない影響で、watchされない
|
||||
/*
|
||||
execa('tsc-alias', ['-w', '-p', 'tsconfig.json'], {
|
||||
execa('tsc-alias', ['-w', '-p', 'tsconfig.backend.json'], {
|
||||
stdout: process.stdout,
|
||||
stderr: process.stderr,
|
||||
});
|
||||
*/
|
||||
|
||||
setInterval(() => {
|
||||
execa('tsc-alias', ['-p', 'tsconfig.json'], {
|
||||
execa('tsc-alias', ['-p', 'tsconfig.backend.json'], {
|
||||
stdout: process.stdout,
|
||||
stderr: process.stderr,
|
||||
});
|
||||
}, 3000);
|
||||
|
||||
execa('tsc', ['-w', '-p', 'tsconfig.json'], {
|
||||
execa('tsc', ['-w', '-p', 'tsconfig.backend.json'], {
|
||||
stdout: process.stdout,
|
||||
stderr: process.stderr,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue