We're updating the issue view to help you get more done. 

Cargo deleted all my source

Description

This is a major problem

I set the working directory to my source path (as I wasn't sure quite what it did) - and when I stopped the server Cargo deleted all my source.

Traced the problem down to DefaultContainer.cleanWorkingDirectory().

If this is what it's meant to do, I'd put a HUGE warning on the doco and everywhere to ensure that users don't set the working directory to a directory that already contains files before Cargo starts.

Status

Assignee

Vincent Massol

Reporter

Mike Cannon-Brookes

Fix versions

Affects versions

0.1

Priority

Blocker