node-huxley
node-huxley copied to clipboard
How does Huxley handle stashes?
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:
- Created my
Huxleyfile.json
in my project root - Ran
hux --record
and clicked through my first few screens - Committed the two generated files:
Huxleyfile.json
andHuxleyfolder/project.record.json
- 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?