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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -