For IDEA probably the right way is using File Watc...
# javascript
b
For IDEA probably the right way is using File Watchers https://plugins.jetbrains.com/plugin/7177?pr=idea