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 15f940f commit 15a2c9bCopy full SHA for 15a2c9b
src/vite/restart-on-add-unlink.ts
@@ -4,7 +4,7 @@ export function restartOnAddUnlink(): Plugin {
4
return {
5
name: 'restart-on-add-unlink',
6
configureServer(server) {
7
- server.watcher.add('/app/**')
+ server.watcher.add('./app/**')
8
server.watcher.on('add', async () => {
9
await server.restart()
10
})
0 commit comments