Auto-package plugin performs live (background) packaging of web content files during development. It works for all web facets in a project. This plugin seems more functional then existing solution in IDEA.
AutoPackage is open-source plugin released under the terms of BSD license.