driebit / ginger

Ginger: awesome semantic CMS built on Zotonic
http://ginger.nl
Apache License 2.0
29 stars 9 forks source link

Automatic recompilation #27

Closed Driebot closed 8 years ago

Driebot commented 8 years ago

In gitlab by david on Nov 30, 2015, 09:44

Zotonic relies on inotify or fswatch to provide automatic code recompilation.

Idea: configure a save-hook in our IDEs (PHPStorm to begin with) and trigger a new Zotonic API service call that recompiles the changed file. The file will end up in /opt/zotonic/ebin and from there the Zotonic filewatcher will pick up to hotload the compiled .beam file and/or restart or flush the site if observers/templates are added.

ddeboer commented 8 years ago

Solved through #57.