I am trying to use typescript in webstorm, I've done almost except "arranging js files in the folder structure that repeats the original structure of .ts files".
I've used the command which is given in site https://www.jetbrains.com/webstorm/help/using-file-watchers.html#generalOptions for coffiescript.
Below are commends showed in websites:
Arguments : --output $ProjectFileDir$\js\$FileDirRelativeToProjectRoot$\ --compile --map $FileName$
Output path for refresh :
$ProjectFileDir$\js\$FileDirRelativeToProjectRoot$\$FileNameWithoutExtension$.js:$ProjectFileDir$\js\$FileDirRelativeToProjectRoot$\$FileNameWithoutExtension$.map
I've used above commend with little change as per my project.But i'm getting error on console.
Here i've attached both the my configuration of File watchers img and error in console img.
my file watcher Image & Error in Console Image
http://pho.to/9fH8J
Below is the commands which used in my file watcher "arguments" and "output paths to refers"
Arguments : --output $ProjectFileDir$\js\$FileDirRelativeToProjectRoot$\ --compile --map $FileName$
Output paths for refers :
$ProjectFileDir$\js\$FileDirRelativeToProjectRoot$\$FileNameWithoutExtension$.js:$ProjectFileDir$\js\$FileDirRelativeToProjectRoot$\$FileNameWithoutExtension$.js.map
*Typescript are installed in project level, not globally installed.
Help me out from this.