less Watcher not triggering Live Edit browser update when non-root file is updated

Hello,

I have the following setup:

  • WebStorm 2018.2.2 Build #WS-182.4129.32
  • Chrome with JetBrains IDE Support
  • Project with Live Edit and a less watcher with the "Track only root files" option enabled

I have an index.html file which links to a css/style.css file generated from the root less file css/style.less, which in turn includes colors.less, grid.less and textfx.less.

When I update the contents of the style.less file a new style.css is generated and, if I'm currently debugging, the browser page is updated with the new stylesheet. However, when I update the contents of any of the non-root .less files, a new style.css is generated, but the browser page is not updated.

EDIT: actually, it doesn't update for style.less as well. It sure as hell used to work.

EDIT2: apparently, it stops working after a while (or after doing something I can't identify), and it is fixed by stopping the debugging session and starting a new one.

0
1 comment

Please can you try to recreate the issue and describe your steps? Video would be also helpful

0

Please sign in to leave a comment.