Flag "refreshDirectives" as true for custom directives when tern server
is stopped.