Update tailer to only use readkey if running in visual studio