Disable hugo trigger on demand

We use hugo to build our website. We also use hugo for dev mode with --watch flag. One issue we face is that sometime our gulp based build process will modify files in static folder (new css file) and layout folder as part of a single gulp command. But Hugo does not understand that it should wait for both steps to finish before doing thing it needs to do for watch (refresh site). We would like someway to either hold hugo from triggering until these steps are complete or retrigger hugo after both steps are complete in our gulptask. How do we do this?

@TamalSaha Tip: Mark this under the “feature” category so that it gets a little more visibility. :wink:

1 Like