PhpStorm should scan project directory for changes

PhpStorm should scan project directory for changes - when I place a new file in one of project's directories (new CSS, for example) the app should find it and show in project view. NetBeans has this function.

At this moment I can't find way to refresh a project, have to reopen entire project.

13 comments

Hello Razun,

IDE should detect external changes automatically, please open  File | Settings | General dialog and check 'Synchonize files on frame activation' option is turned. If that does not help (quite unexpectedly), you can enforce refresh by pressing refresh button on toolbar (next to 'Save') or context menu.

Regards,
Kirill

0

'Synchonize files on frame activation' option is turned, but has no effect. I'm using PhpStorm PS-100.36 right now. Win7 x64.

Refresh button helped, thanks. Didn't notice it. I've been searching 'refresh' option in right-click menu.

0
Refresh button helped, thanks. Didn't notice it. I've been searching 'refresh' option in right-click menu.

It's there named 'Synchronize' in the context menu for Project view items.

0

What JRE do you use? 32 or 64 bits?

0

I have both installed, "Java(TM) SE Runtime Environment (build 1.6.0_22-b04)"

0

Okay, what runtime IDE uses? check via Help|About. Also, did you used I exe installer or zip package?..

0

Exe installer

Hm... PhpStorm uses JDK 1.6.0_21

I think I've found the source of the issue: my project's files are under symlink'ed folder (w:\www\blablabla, \www - link to different folder)

I created a new project in normal directory and in this project new files appear instantly.

0

Sorry, symlinks was my next question. Its a known problem under most OS - even using native API in file watcher we still have problems with symlinks.

0

The same for me. Using Ubuntu and PS-121.150 (stable version the same).

Even explicitly forcing "refresh" don't pick up files added by other program.

0

I am still having this problem on Webstorm 6.0.2. Even if the filesystem can't be watched for changes, there should be some way to force refresh on an entire symlinked folder.

0

I'm running PhpStorm 2016.2.2 on Ubuntu 14.04, and have discovered that it's not refreshing files when they change on disk (for instance, when I change branches with git from the command line). It also doesn't show the change in git branch in the status bar at the bottom of the screen. This is frustrating, as it's worked in the past (when running PhpStorm on Arch Linux). I have the "Synchronize files on frame or editor tab activation" option turned on. 

0

Hi Noah,

Please enable "Refresh changes" in File | Settings | Version Control | Background - this should help.

0

Please sign in to leave a comment.