We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3aac06 commit bafaf7fCopy full SHA for bafaf7f
tests/dev_server.spec.ts
@@ -214,10 +214,12 @@ test.group('DevServer', () => {
214
}).timeout(8 * 1000)
215
216
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 })
219
await fs.createJson('tsconfig.json', { include: ['**/*'], exclude: [] })
220
await fs.create(
221
'bin/server.ts',
- `process.send({ type: 'hot-hook:full-reload', path: '${join(fs.basePath, 'start/routes.ts')}' });`
222
+ `process.send({ type: 'hot-hook:full-reload', path: '${filePath}' });`
223
)
224
await fs.create('start/routes.ts', ``)
225
await fs.create('.env', 'PORT=3334')
0 commit comments