Closed SoftwareAndOutsourcing closed 1 year ago
Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.
I tried with 5.8.0 looks fine.
❯ npm run dev
> fastify-test@1.0.0 dev
> npm run build:ts && concurrently -k -p "[{name}]" -n "TypeScript,App" -c "yellow.bold,cyan.bold" "npm:watch:ts" "npm:dev:start"
> fastify-test@1.0.0 build:ts
> tsc
[TypeScript]
[TypeScript] > fastify-test@1.0.0 watch:ts
[TypeScript] > tsc -w
[TypeScript]
[App]
[App] > fastify-test@1.0.0 dev:start
[App] > fastify start --ignore-watch=.ts$ -w -l info -P dist/app.js
[App]
[TypeScript]
[9:36:40 AM] Starting compilation in watch mode...
[TypeScript]
[App] [09:36:40.984] INFO (27367): Server listening at http://127.0.0.1:3000
[App] [09:36:40.986] INFO (27367): Server listening at http://[::1]:3000
[TypeScript] [9:36:41 AM] Found 0 errors. Watching for file changes.
[TypeScript]
[App] [09:36:41.639] INFO (27372): Server listening at http://127.0.0.1:3000
[App] [09:36:41.640] INFO (27372): Server listening at http://[::1]:3000
Prerequisites
Issue
node 18.16.0 fastly-cli 5.7.1
Output: