You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was doing tests with zip files, adding contents with:
zip docs/archive.zip file.txt
The page that depends on this file updates once, then stops watching the file.
After tracking down this bug it appears that zip changes the inode of the file. I can do this instead, which doesn't change the inode (and allows the dev server to keep watching):
zip docs/archive.tmp.zip file.txt && cat docs/archive.tmp.zip > docs/archive.zip
It would be nice to watch file changes even when their inode changes.
The text was updated successfully, but these errors were encountered:
I was doing tests with zip files, adding contents with:
zip docs/archive.zip file.txt
The page that depends on this file updates once, then stops watching the file.
After tracking down this bug it appears that
zip
changes the inode of the file. I can do this instead, which doesn't change the inode (and allows the dev server to keep watching):zip docs/archive.tmp.zip file.txt && cat docs/archive.tmp.zip > docs/archive.zip
It would be nice to watch file changes even when their inode changes.
The text was updated successfully, but these errors were encountered: