fresh icon indicating copy to clipboard operation
fresh copied to clipboard

Allow custom command before and after re-build process

Open 1yzz opened this issue 7 years ago • 5 comments

execute command such as swag init and so on

1yzz avatar May 01 '18 11:05 1yzz

Could you describe your use-case a bit more? What would your ideal configuration for this feature look like? Do you just want to add a pre and post hook to the build?

gmccue avatar May 22 '18 19:05 gmccue

just like pre or post triggers at each time fresh re-build. Using this to re-generate my Swagger docs which embedded inside source code

1yzz avatar Jun 01 '18 06:06 1yzz

+1 For the hooks - in my case I'm interested more in the post hook, to shoot out tput bel for me to be notified that build is done, since build takes couple secs, which Im using to continue reading something or w/else

arthurlataks avatar Jan 10 '19 09:01 arthurlataks

I actually wrote a tool which can overcome this issue. You might want to take a look at https://github.com/AgentCosmic/xnotify

AgentCosmic avatar Jun 25 '19 02:06 AgentCosmic

Any update on this?

nilesh-bamne avatar Nov 23 '21 06:11 nilesh-bamne