marijnh/tern — pull request #252 by angelozerr (2013-10-25 12:33:58+00:00)
Title: Display config of Tern/Nodejs server

I'm developping a Java Tern Server which consumes Tern/Nodejs (like your tern.py used in sublime text).
It was hard for me to check taht Tern/nodejs server is configurated as you wish (ex : projectDir, etc).

So I have updated your bin/tern to gives the capability to write conf. With this patch, if your Tern/Node.js server starts on 12345 port and you go at http://localhost:12345/conf with web browser, you will see the conf as JSON. Ex :

-----------------------------------------------------------------------------------------------
{
"projectDir": "D:\\_Projects\\git\\tern.java\\tern.server.nodejs",
"persistent": false,
"verbose": false,
"noPortFile": false,
"port": 12345,
"config": {
"libs": [],
"loadEagerly": false,
"plugins": {},
"ecmaScript": true
}
}
-----------------------------------------------------------------------------------------------