Open NHQ opened 12 years ago
Hey NHQ,
In theory, Nide should auto-save your files as you edit them. Does the user you're running nide with have write permissions for the files?
Nide should also keep previous/backup copies inside a .nide
directory. Was that created?
There should be a way to force-save a file. Or is saving each file done in realtime over websockets?
Confirmed that a .nide dir was created.
@pvorb: It's done in real time via wesockets. But I agree the UI should probably warn you somehow if it can't save the file, and display a "force save/retry" button, or something like that.
@NHQ: So you do have permissions for the folder... Are you running nide in a new/empty project you just created, or on a folder with files already on it? Also, when you edit the files, does the "spinner" animated gif on the left of the UI stay there or disappear after a while?
Got the same issue - user running nide should have all necessary permissions (i can edit the files using the same user in vi for example), .nide directory created (but empty). Spinner keeps going ad infinitum when file is selected, but no changes are saved.
Also - started this by using 'nide init' on a pre-existing directory.
I'll setup a Ubuntu VM and see if I can replicate this. @headconnect you're also running Ubuntu, correct?
@headconnect and @NHQ, were you by any chance running nide using root? If so, could you check if your code is also owned by root? (If so, can you please try downloading the latest code and running nide with the --no-downgrade parameter?)
I am on Linux Mint 12 (Based on Ubuntu 11.10) and it seems to be working fine here. My user is the owner of all the files in my project directory.
I don't see any clear way to save a file after editing. And when I re-open the file, the changes are lost. If there is auto-saving, it is not working for me.
OS: Ubuntu 10.4 (i think) Node: v.0.4.12