Skip to content

Commit

Permalink
fix: hotreload on vim
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Feb 4, 2025
1 parent fa3a241 commit 5c5f3d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nuekit/src/nuefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export async function fswatch(root, callback, onremove) {
}

return watch(root, { recursive: true }, async function(e, path) {
if (path.endsWith('~')) path = path.slice(0, -1)

try {
const file = parse(path)
file.path = path
Expand Down

0 comments on commit 5c5f3d4

Please sign in to comment.