1

I create file watcher script for converting *.ts into *.js ( that's dose n't matter ) - it works perfectly, but Storm update output file state not in realtime. I should to wait or run Synchronize command from context menu.

Is there any way to do this operation from script?

Thx a lot

1 Answer 1

1

Seems the Storm can't match the specified output path with actual output. If the pattern specified in Output paths to refresh field doesn't match the transpiler output, virtual file system is not updated and the file state in IDE doesn't match its state on disk. Please attach a screenshot of your file watcher settings

Sign up to request clarification or add additional context in comments.

4 Comments

Thx. I didn't pay attention. The only question - how to create complicated transformation for output path? Not from one folder to another< but several transformations
not sure i follow you... Why do you need several transformations for a single watcher?
current project structure - we didn't start from scratch. I just review ability of migration to typescript ( Of course we can use symlinks and others ) -
again don't understand. You can't pass several different --outDir options to typescript compiler - just one. so the generated files will always be put in certain directory. Just make sure that the pattern in 'output paths to refresh' matches the path you specify in --outDir parameter. If it's still not clear, please let me know what you are trying to do exactly

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.