I have a problem with intellisense not working when I require a file using path.resolve or join. This seems to kill the intellisense for everything Except core node objects. All local vars a missing. If I pull out the path.resolve from the require statement then it works.
Example Not working:
var email = require(path.resolve('./util/email'));
Example working:
var email = require('./util/email');
Both work when executing code. Just no intellisense.
Example Not working:
var email = require(path.resolve('./util/email'));
Example working:
var email = require('./util/email');
Both work when executing code. Just no intellisense.