Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Apr 21, 2024
1 parent 23d01e8 commit 963ad95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/dev_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ export class DevServer {
* Handles TypeScript source file change
*/
async #handleSourceFileChange(action: string, port: string, relativePath: string) {
console.log({ relativePath })
await this.#hooks.onSourceFileChanged({ colors: ui.colors, logger: this.#logger }, relativePath)

this.#clearScreen()
Expand Down
4 changes: 2 additions & 2 deletions tests/dev_server.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,9 @@ test.group('DevServer', () => {
}).setLogger(logger)

await devServer.start()
await sleep(1000)
await sleep(2000)
await fs.create('app/controllers/app_controller.ts', 'console.log("bar")')
await sleep(1000)
await sleep(2000)
await devServer.close()

const logMessages = logger.getLogs().map(({ message }) => message)
Expand Down

0 comments on commit 963ad95

Please sign in to comment.