Created
May 12, 2015 13:16
-
-
Save jmealo/f84d69cfc7d0c0e8489a to your computer and use it in GitHub Desktop.
snippet to fix watcher for PHPStorm EAP 141.1000
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Insert this just after: if (/move/i.test(verb)) { @ line 115 | |
if (file.indexOf('___jb_bak___') !== -1) { | |
verb = 'PUT'; | |
destination = destination.replace('___jb_bak___', ''); | |
file = destination; | |
fileStream = fs.createReadStream(file); | |
headers['Content-Length'] = fs.statSync(file).size; | |
} | |
/* Add the following entries to your config.json global ignore: | |
"*___jb_old___", | |
"*___jb_bak___" | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment