You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem with adding environment variables inside a function is that it forces them to be extended during runtime, rather than during the start of the app, thus possibly preventing the app itself from overriding any environment variables it needs for its child processes. This could lead to unpredictable conditions within the node app being developed with gulp.
The _.extend() should happen outside of the scope of any function so that it represents the actual environment variables of the system.
I thought it is convenient to extend values inside of the function,
but you are right, environment variables might be unpredictable as you say.
I will re-open & merge your pull-request, and add more test codes.
Thanks.
#5 (Reported by @vkareh)
The text was updated successfully, but these errors were encountered: