daveallie / entangler

Two way file syncer using platform native notify
MIT License
8 stars 6 forks source link

Post-copy hooks #2

Open deecewan opened 6 years ago

deecewan commented 6 years ago

It'd be awesome to have entangler run some code on the server after files were copied across.

i.e if package.json is copied across, run yarn on the server.

Maybe via some static config file (.entanglerrc?) that contains glob->shell command mappings and entangler looks up the command and execs it.

daveallie commented 6 years ago

Yeah, having a config file would be a good start.