Fresh Update runs through freshrc twice
quintrino opened this issue · 1 comments
quintrino commented
I currently have an if block in my freshrc which echos Static ASDF not requested
if the criteria is met.
When I run fresh install, this echoes once, when I run fresh update it echoes twice.
Is this a bug? Echoing something twice doesn't have any side effects, but if it's running commands twice I could see it causing bugs.
jasoncodes commented
The freshrc
file is intended to be a configuration file and immutable (preferably without any side affects). We recommend defining a fresh_after_build
function in your freshrc
which will be automatically called during the build process but not at other times.