Sometimes HMR tools don’t work quite right when using docker on some OS (OSX) with a mounted volume. You change a file and nothing happens, it doesn’t detect the change and no rebuild happens.
This hack-script will make sure your HMR tools (webpack, parcel, etc) sees that a file has been changed/created/deleted/etc.
It uses the command touch to update the file from inside the container helping the HMR tools to be aware of the update.
[+] [-] gdi3d|5 years ago|reply
This hack-script will make sure your HMR tools (webpack, parcel, etc) sees that a file has been changed/created/deleted/etc.
It uses the command touch to update the file from inside the container helping the HMR tools to be aware of the update.
Why I build this thing?https://gdi3d.github.io/hacking-tool-for-js-with-hmr-on-dock...