Page 1 of 1
Javascript and Eclipse
Posted: Mon Sep 22, 2014 2:06 pm
by SeeCwriter
The new IDE (v2.6.7) does NOT recognize changes to *.js files when doing a "F5 - Refresh" in Eclipse… despite all the elaborate new file definitions in "C:\nburn\pcbin\MIME_magic.txt". JS (javascript) files work just fine in the web page, but Eclipse won't capture any changes to those files unless you do a complete “Clean” rebuild. So this is broken just as before, and the workaround continues to be to name the *.js files as *.htm…. resulting in a rash of browser warnings but otherwise causing no harm.
Steve
Re: Javascript and Eclipse
Posted: Wed Sep 24, 2014 4:11 pm
by tod
My workaround has been to go "touch" an HTML file after modifying a .js file. Usually I just add a space character on a comment line.
Much faster than a full rebuild, not as convenient as renaming them .html, which never occurred to me.
Re: Javascript and Eclipse
Posted: Wed Sep 24, 2014 9:39 pm
by dciliske
Lemme poke Forrest on this one tomorrow. I'm not sure what the deal here is...
Re: Javascript and Eclipse
Posted: Wed Oct 01, 2014 4:40 pm
by Forrest
This is fixed in 2.6.8, which is scheduled for imminent release. NBEclipse will now recognize changes in css, js, and images within the project directory.