WebStorm keeps changing <base href=""> value

I'm fairly new to WebStorm. Starting to work on a second project, and I've run into an annoyance that I haven't been able to figure out.

Just got the Gruntfile.js set up. Then noticed when I run grunt, it keeps setting the <base href=""> value to the same thing my previous project was using. I've changed it a few times, yet it keeps getting changed back in "index.html".

What is doing this? I'm not using node.js to run the app, It's in IIS, so is there some global WebStorm setting I need to change here?

3 comments
Comment actions Permalink

Figures... right after I typed this up, it magically stopped doing it. No clue why.

0
Comment actions Permalink

Then noticed when I run grunt, it keeps setting the <base href=""> value to the same thing my previous project was using.

Check your grunt configuration. It's not WebStorm that is changing your code when you run Grunt, it's your grunt task that is doing this

0
Comment actions Permalink

I agree. I think I inadvertanly fixed it as I was working with the grunt tasks.

0

Please sign in to leave a comment.