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 ea6a7f3 commit b3b0885Copy full SHA for b3b0885
src/dev_server.ts
@@ -430,6 +430,7 @@ export class DevServer {
430
* @param action - Whether the file was added or deleted
431
*/
432
#regenerateIndex(filePath: string, action: 'add' | 'delete') {
433
+ console.log({ filePath })
434
if (action === 'add') {
435
return this.#indexGenerator.addFile(filePath)
436
}
@@ -702,6 +703,7 @@ export class DevServer {
702
703
this.#watcher.on('add', (filePath) => {
704
const relativePath = string.toUnixSlash(filePath)
705
const absolutePath = join(this.#cwdPath, filePath)
706
+ console.log({ relativePath, absolutePath })
707
this.#hooks.runner('fileAdded').run(relativePath, absolutePath, this)
708
})
709
this.#watcher.on('change', (filePath) => {
0 commit comments