Currently, the default NCQ behaviour is to create a temporary directory for a project, then delete it when the user exits. For the use study, we added an optional ability to not delete this folder so the finished code could be analysed.
However, most users accidentally exited at some point during the user study. If they do not manually save, they can lose progress.
The default behaviour should be changed as follows:
- Starting a REPL with the
repl command should load the existing project, if it exists.
- The REPL should be modified to save as to not lose progress (on process.exit, or after every command, whichever solves this problem).
- There should be a command for initializing a new REPL, for example
repl -init
- Users should be able to load a REPL from a directory, for example
repl ../project/main.js (and thus the default command will actually run this for some default location)
Currently, the default NCQ behaviour is to create a temporary directory for a project, then delete it when the user exits. For the use study, we added an optional ability to not delete this folder so the finished code could be analysed.
However, most users accidentally exited at some point during the user study. If they do not manually save, they can lose progress.
The default behaviour should be changed as follows:
replcommand should load the existing project, if it exists.repl -initrepl ../project/main.js(and thus the default command will actually run this for some default location)