Skip to content

Commit

Permalink
chore: add documentation for logging from hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
yangannyx committed Mar 19, 2024
1 parent f359bda commit b1bfcaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ In Electron Forge, hooks are asynchronous callback functions that allow you to i

Each hook function comes with the Forge configuration object as a first parameter.

Any writes to `stdout` and `stderr` from within a hook function will be printed in the console after the Forge build completes.

{% hint style="info" %}
To read more about the different stages in Forge's build process, please refer to the [build-lifecycle.md](../core-concepts/build-lifecycle.md "mention") documentation.
{% endhint %}
Expand Down

0 comments on commit b1bfcaf

Please sign in to comment.