node-huxley icon indicating copy to clipboard operation
node-huxley copied to clipboard

How does Huxley handle stashes?

Open marcelosomers opened this issue 9 years ago • 1 comments

I'm experimenting with Huxley for the first time on an existing project. I kept running into an error where I'd have 3 or 4 stashes sitting around. Here's what I did to start up Huxley:

  1. Created my Huxleyfile.json in my project root
  2. Ran hux --record and clicked through my first few screens
  3. Committed the two generated files: Huxleyfile.json and Huxleyfolder/project.record.json
  4. Ran hux

At that point I'd get an error:

The tests now halt. You might have unfinished tasks.

Possibly unhandled Error: Command failed: unable to refresh index

    at ChildProcess.exithandler (child_process.js:637:15)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:735:16)
    at Socket.<anonymous> (child_process.js:948:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:466:12)

I'd also randomly get my most recent stash applied to the working directory. The only way I was able to resolve this issue was to delete all my stashes. Then hux ran just fine.

Is this the expected behavior?

marcelosomers avatar Jan 19 '15 19:01 marcelosomers