Skip to content

Commit bafaf7f

Browse files
committed
ci: debug log
1 parent c3aac06 commit bafaf7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/dev_server.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,12 @@ test.group('DevServer', () => {
214214
}).timeout(8 * 1000)
215215

216216
test('restart server if hot-hook:full-reload message is received', async ({ assert, fs }) => {
217+
const filePath = join(fs.basePath, 'start/routes.ts')
218+
console.log({ filePath })
217219
await fs.createJson('tsconfig.json', { include: ['**/*'], exclude: [] })
218220
await fs.create(
219221
'bin/server.ts',
220-
`process.send({ type: 'hot-hook:full-reload', path: '${join(fs.basePath, 'start/routes.ts')}' });`
222+
`process.send({ type: 'hot-hook:full-reload', path: '${filePath}' });`
221223
)
222224
await fs.create('start/routes.ts', ``)
223225
await fs.create('.env', 'PORT=3334')

0 commit comments

Comments
 (0)