Github Repository
Github Projects
Image
Latest Update

Gnome Shell Extension Reloader Features

This extension is intended for use by Gnome Shell Extension writers. It is common practice to restart the Shell during testing to reload an extension with changes made to the extension's code. Wayland does not allow restarting the Shell. To reload an extension under Wayland a logout and a login is required. This extension reloads only the selected extension with two mouse clicks saving time for the extension writer.

The extension replaces the need to type "Alt F2 r" to restart the shell during extension development. This extension will attempt to reload the extension when it is in the error state. The most common shell restarts for extension writers are when an extension is in the error state. If all errors in the extension code are corrected the extension will reload successfully. If the reload fails the user is notified and the error is logged.

As of version 10 for GS 3.34:
When the list of extensions is displayed only extensions in the ERROR state will be high-lighted indicating they can be reloaded. Extensions not in the ERROR state are only loaded from the extension code on disk when a new Gnome Shell session starts.

Limitations

Prior to version 10:
This extension will reload an extension from the extension disk files only when the extension is in the error state; othewise, the Gnome Shell session must be restarted with "Alt F2 r" for Xorg or re-login for Wayland. When not in the error state the extension is reloaded using modules imported when the extension was first initialized.

See https://bugzilla.gnome.org/show_bug.cgi?id=782186
See https://bugzilla.gnome.org/show_bug.cgi?id=782187

As of version 10 for GS 3.34:
When the list of extensions is displayed only extensions in the ERROR state will be high-lighted indicating they can be reloaded. Extensions not in the ERROR state are only loaded from the extension code on disk when a new Gnome Shell session starts.