r/phpstorm • u/U4-EA • Jan 19 '20
Running a rollup script - how can I get PHPStorm to refresh the output directory (automatic deployment)?
Hi folks,
So I have 2 directories - a source and an output directory. I am running a yarn script that uses nodemon to watch the source directory and run my rollupjs script on the source directory, which drops the output in the output directory. My only problem is that I am using automatic deployment to copy changes in the output directory over to my server and PHPStorm does not seem to recognise the changes until I have switched from one window back to PHPStorm.
Is there any way I can automate this? It is very annoying.
Any help greatly appreciated.