Adding extension to file via filewatcher in WebStorm 9 -



Adding extension to file via filewatcher in WebStorm 9 -

i have send js files through outlook, means have modify extension of file txt or recipient can receive it. i'd ideally implement file watcher in webstorm output kid file .txt appended similar how it'll show kid css file less file.

to sum up, given file named "file.js", output "file.js.txt" whenever create change.

is there simple way go doing this?

you can create .bat file (shell script) re-create files , configure file watcher. like:

copy %1 %2 /y

watcher settings:

program: path/to/your/batfile.bat arguments: $filename$ $filename$.txt working directory: $filedir$ output paths: $filename$.txt

webstorm file-watcher

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -