Sublime Forum

ST2: Unable to save file opened by process

#1

Hello,

Just got Sublime Text 2 today and I’m really impressed!

I’ve run in to one issue that is really holding me back, though. Essentially, I have a Javascript file that I’m trying to edit while a Java application server (Jetty) is serving it up. Once the Jetty server starts, ST2 can no longer save any changes to the file. When I run Unlocker on the Javascript file, I can see that it’s locked by the Jetty Server’s JVM (java.exe). Other text editors seem to have no problem editing this Javascript file while it’s being used by the Jetty server, so I was hoping ST2 would be able to as well.

Best,
Frank

0 Likes

#2

Have you considered asking Jetty not to lock the file? See docs.codehaus.org/display/JETTY/ … on+Windows

0 Likes