build --watch doesn't delete files from dist when deleted from source #859
Replies: 2 comments
-
Interesting, at least "File changed" message expected: |
Beta Was this translation helpful? Give feedback.
-
Yea, we used to clear out the I'd be +1 to a PR that deleted the file when the file watcher detected it as unlinked, but this would involve a bit of src -> dest file mapping logic that wouldn't be worth the trouble, IMO. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Title is pretty self explanatory - if I run
build --watch
, then create a file in src/ then delete it,dist/
will still have the output.js
file. The logs don't show a "File changed" message when deleting a file.This isn't a dealbreaker, but is this viable to fix at all?
Beta Was this translation helpful? Give feedback.
All reactions