I was able to fix this problem by following the proposed miguellira solution on this issue: https://github.com/aspnet/Home/issues/508
I skipped the first second step, I just changed my ~ / .bash_profile file, adding the following:
alias dnu="brew switch mono 4.1.0 && dnu" code () { brew switch mono 4.0.1 if [[ $# = 0 ]] then open -a "Visual Studio Code" else [[ $1 = /* ]] && F="$1" || F="$PWD/${1#./}" open -a "Visual Studio Code" --args "$F" fi } export MONO_MANAGED_WATCHER=enabled
As for the bash_profile file, if you donโt know how to change it (or create it if you donโt already have it), see the link: https://discussions.apple.com/message/19065947#19065947
source share