Skip to content

Keep REPL progress saved and allow reloading the same REPL #54

@Brittany-Reid

Description

@Brittany-Reid

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementchanges that improve the tool but not full features

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions