Run action on save


#1

I am looking for a plugin (or may be internal feature) that runs some action (db query) after file saved.

For example: update blob field with file content, record id is based on file name.


#2

It wouldn’t be too hard to write a script to listen for a save event and then execute some other code. It would be small enough to fit in your init.coffee.