You are here: Home Plone products collective.autorestart

collective.autorestart (0.2)

1
by Olha Pelishok last modified 2009-04-28
0.0
0.0
0.0
0.0
Released on 2009-04-27 by Mikko Ohtamaa for Plone 3.0 under GPL - GNU General Public License available for All platforms.
Software development stage: stable
Automatically reloads changed code into Plone when you edit Python files

Automatically reload changed Python files - putting agility back to Plone development.

collective.autorestart monitors Python .py files for changes and triggers a reload when you edit the files. This way you don't need to restart Plone server between your code edit runs. collective.autorestart uses plone.reload package to perform the actual code replacement.

File system is monitored using inotify interface which is only available for Linux. The future versions will support other operating systems as long as somebody contributes the file system monitoring code or gives the author a new computer running operating system X.

Features

  • Recursively detect changes in ZCML and Python files which are known to Zope
  • Automatically trigger reload when files are changed (saved)
  • Audio playback depending on whether the restart succeed or failed - you can go back to your files and you don't need to watch the terminal

Dependencies

  • plone.reload
  • pyinotify for monitoring files.
  • pygame for audio playback (optional)

pyinotify relies on Linux kernel feature called inotify and thus this application only works on Linux currently. However, it should be trivial to port it for other platforms.

Document Actions
Powered by Plone