Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"harp compile ./ ./" deletes all your files #92

Closed
kevinsimper opened this issue Sep 5, 2013 · 2 comments
Closed

"harp compile ./ ./" deletes all your files #92

kevinsimper opened this issue Sep 5, 2013 · 2 comments
Labels
Milestone

Comments

@kevinsimper
Copy link

if you try to compile your current project in your current directory, harpjs deletes all your files in that directory :-(

ks:Harp kevinsimper$ harp init game
initialized project at /Users/kevinsimper/Harp/game
ks:Harp kevinsimper$ cd game/
ks:delete kevinsimper$ ls
404.jade*   _layout.jade*   index.jade* main.less*
ks:delete kevinsimper$ harp compile ./ ./
ks:delete kevinsimper$ ls
ks:delete kevinsimper$ ls

And your files is gone!

@sintaxi
Copy link
Owner

sintaxi commented Sep 5, 2013

First of all, I'm sorry if you lost your project files. Thanks for opening up this important issue.

A lot of effort was put into the harp compile function to prevent this from happening and it looks like there may be some cases overlooked or there could be issues that were introduced when harp directory structure changed. Ether way, we will look into the matter and have it fixed.

@silentrob
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants