Feature #11993

Reload plugin assets on every request in development mode

Added by John Yani almost 7 years ago. Updated almost 6 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:

Description

I develop a plugin that requires Ajax.
I've put my scripts to plugin/assets folder.
It's very inconvenient to develop a plugin since I have to reload redmine each time I change my scripts.
It would be great to reload plugin assets on each request.

History

#1 Updated by Jean-Philippe Lang almost 7 years ago

As a workaround, you can call Redmine::Plugin.mirror_assets(:your_plugin) from your plugin on each request when running in development environment.

#2 Updated by Jean-Baptiste Barth almost 7 years ago

Other idea as a workaround, you can symlink public/plugin_assets/<your plugin> to plugins/<your plugin>/assets if you're on Linux, any *nix or MacOS.. I don't know if there's something similar on Windows.

#3 Updated by Jongwook Choi almost 6 years ago

We need this.

Also available in: Atom PDF