-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes made inside external editor are not picked up? #18
Comments
|
Thanks for the prompt reply. Yes to all of your questions. I repeated all the steps just in case, making sure all Firefox processes were no longer visible in the Task Manager, still not seeing any improvement. Every time I add a line in the external editor, and save, Tampermonkey prints:
So it does look like it should be working; however, if I open the userscript inside Tampermonkey, none of the changes is there.
From inside a command prompt, using the batch file from the package. (Forgot to mention that I'm on Windows). BTW since I switched the Sync setting to WebDAV, all of my 'last updated' states have been reset, so scripts that haven't been modified now show July, 13, as their time of last modification. |
PS: when first setting up TamperDAV I changed However, backslashes did not work (I thought this was covered by the upath module in Node.js ?) and I had to change them to forward slashes, as if a Unix path, e.g. Is this the correct way to configure the external editor under Windows? |
I need to test it at Windows again... Or you can file a pull request if you found a working solution...
What is your Tampermonkey version? |
I wish I could be of more help, however I'm not at all familiar with Node.js: I looked into upath because Node was complaining about upath while I was installing TamperDAV, afterwards it transpired Node needed to be whitelisted in the firewall to download from the Internet, and there was nothing wrong with upath or Node themselves. What I can say, is that both forward slashes and escape backward slashes 'work' meaning that TamperDAV accepts both without throwing an error at runtime, regardless I'm getting that "Problem loading" in Firefox that I mentioned previously. Using backwards slashes alone isn't accepted, though.
4.13.6136. In case this helps, after pressing the I would have to restart Tampermonkey after every change, though. |
Same problem here. After editing script in external editor, I have to click Tampermonkey browser extension menu: utilities -> check for userscript updates to make it update... |
I have a problem too. Files after editing are not synchronized. And there is no point in using this server. But if I add a new script to FF, it gets into the directory quickly. But it doesn't work the other way. And even manual start does not work. |
What stops this issue from being closed? |
...providing a workaround that may not work well or at all, is different from fixing a problem? |
I guess after changing Tampermonkey settings (sync/webdav) you need to restart the browser. I thought that When you change a file 2 messages should appear in the extension tab (at the top): And when you open the file in Tampermonkey: the change should be there. Also I believe I'm running Arch Linux. Considering this (if still relevant):
the OP has a different issue. |
@derjanb What does it mean if after changing a file TamperDAV says only (no more output):
Usually this line is followed by some communication that transmits the file to Tampermonkey. |
Try replacing the code below.
It works in firefox but installation is refused in chrome. |
Hey there,
I set up TamperDAV according to instructions, and now clicking on the cloud icon opens the script in the external editor.
However, whatever change I make externally, isn't picked up by TamperMonkey. More, a test change that I made yesterday in the editor was lost as seemingly TamperDAV sync'ed the file from TamperMonkey and overwrote the one in the
sync
directory.Whenever I click on the cloud icon, Firefox opens a new tab pointing at
http://localhost:7000/Tampermonkey/sync/[UUID].user.js?method=editor#bypass=true
showing the following error:Problem loading page - The address wasn't understood
.The file is opened in the editor nonetheless.
Anybody can help please?
The text was updated successfully, but these errors were encountered: