3

Phpstorm Live Edit not working with external css and js files. But when i change html/css/js code in .html (.php) files it is work nice. Problem only with external files, like:

<link rel="stylesheet" type="text/css" href="css.css"/>
<script src="js.js"></script>
Dylan Corriveau
  • 2,561
  • 4
  • 29
  • 36
user3759503
  • 31
  • 2
  • 4

1 Answers1

10

Please make sure that 'Update' in Settings/Build,Execution,Deployment/Debugger/Live Edit is set to 'Auto in (ms)' and 'Restart if hotswap fails' is enabled. Changes in HTML code are updated in the browser automatically regardless of the selected Update mode; but this is not the case for js and css - in Manual mode, you need to click the Update Application button on the debugger tool window or in the main Run menu, or press cmd+F10 to get page refreshed.

See http://blog.jetbrains.com/webstorm/2014/08/live-edit-updates-in-webstorm-9/

lena
  • 90,154
  • 11
  • 145
  • 150