Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
CodingJungle Posted August 3, 2016 Posted August 3, 2016 Why aren't hooks added to hooks.json when they are created? I've always found this one weird as it effects portability (I work from my laptop and desktop and switch between the two frequently and i use a remote git repo to keep the two synced to each other). There have been times, where i have forgotten to run "build" before i push to git, and the hook file gets pushed, but the hooks.json is lacking the "install". I have a plugin installed that handles this for me, but I would prefer this to be baked into the framework (not my plugin, but the hooks being added too hooks.json when they are created) or a rational reason why this is a bad thing?
bfarber Posted October 3, 2016 Posted October 3, 2016 I've committed a change that will rewrite the hooks.json file automatically when application hooks are added/edited/deleted. This may or may not make it into 4.1.16. Thanks for the suggestion!
CodingJungle Posted October 3, 2016 Author Posted October 3, 2016 I appreciate it, as it's been a pain a lot (as i don't always have the plugin installed on all my dev boards). this will greatly improve portability of the code from one machine to another
Recommended Posts
Archived
This topic is now archived and is closed to further replies.