Triggering a file synchronization after an action
I've got an action which creates one or more files inside the project directory (Ant build files, based on the information in the Aurora module structure). It works fine, except that the files don't show up in the project view until after resynchronizing. How do I go about triggering a synchronization automatically. Thanks.
--Dave Griffith
Please sign in to leave a comment.
I believe VirtualFile.refresh on the directory where you created the files should do the trick
Jacques
Thanks! Worked like a charm,