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
The hs watch command uploads each file as soon as the file is saved without checking if the file has changed.
This significantly slows down the development process with any build tool (Webpack, Vitejs, ...).
Steps to reproduce
Just open a file in a folder watched by hs watch and save it without any changes while hs watch is running.
Expected behavior
hs watch should only upload files with a new checksum.
Dug into this a bit today, the library we use for watching files (chokidar) emits the change event even if there are no changes to the saved file and has no option to ignore. I've filed an issue to fix this: paulmillr/chokidar#1283
I could work around it in the mean time, either by converting to a means file watching that doesn't have this problem or implementing the feature myself, but it may take a little longer than expected.
Description and Context
The
hs watch
command uploads each file as soon as the file is saved without checking if the file has changed.This significantly slows down the development process with any build tool (Webpack, Vitejs, ...).
Steps to reproduce
Just open a file in a folder watched by
hs watch
and save it without any changes whilehs watch
is running.Expected behavior
hs watch
should only upload files with a new checksum.Who to Notify
@arinker
The text was updated successfully, but these errors were encountered: