I never thought this would be so difficult. What a performance. I'm just trying to get the LESS transpiler to to work. Perhaps I should use Crunch ?
Anyway - as detailed in the JetBrains tutorial, I installed nodeJS then used NPM to install the LESS transpiler. ( Command line - in 2015 - oh boy ) It has has been installed into Users/kt/AppData/Roaming/npm. [ Obviously am kt ] I didn't have any choice about this. Or maybe there a command option ? Can't find one on the PHPStorm help stuff. NPM also updatated the PATH variable. I'm presuming that the file I need to kick everything off is lessc.cmd, but I can't find this written down anywhere.
So now I go to Settings/Tools/File Watchers. There's a file watcher already there called Less. I select this, then click on the pencil to edit it. I'm trying to set the Program parameter on the Edit Watcher dialog. Click on the button ( not insert macro - the one to the left of it ). File Browser dialog opens. Go to Users/kt - and there is no folder called AppData. I can see the folder OK if I use Windows file explorer, but PHPStorm can't see it. What is this about ?
So - here's my question - if I put a copy of the npm folder somewhere where PHPStorm CANsee it and change the PATH, will it still work ?