added compression for each file change. Resolve.js template. Process spawning.

Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com>