as follows. If TSS_LOG is not set, no logging will occur. If TSS_LOG
is set to any value, logging will occur as before this change (log file
will be in directory of tsserver.js with name .logPID where PID is the
process id of the server process; log will contain the pre-change
messages). If TSS_LOG is set to a string that has the form "-file
fileName", the log file will be in the tsserver.js directory with name
'fileName'. If TSS_LOG is set to a string that has the form "-level
levelName", then the level of logging will be set to 'levelName'.
Currently the two levels are 'normal' and 'verbose'. The TSS_LOG string
can contain zero, one or both of its options as in "-file LOG -level
verbose". At the verbose level, the server will log every request,
response and event, and will also give elapsed time for message processing.
timer is started. If timer finishes before another change takes place,
project structure will be updated to reflect any changes in reference
comments or import statements.
changes in last s seconds (where s is currently 1.5), then check project
structure to account for references that may have changed. Turned this
off pending fix for getScriptFileNames returning only the root names.
Added event handler for deleted file, so that session can update error
messages upon deletion of a file from a project.