Menu icon Foundation
Foundation Watch overwrite dist folder

Hello, I need some help.

To change my css I used to use compass watch, and than, when I changed the .sccs file it automatic update de css file.

Now when I use Foundation Watch to do the same, this command create a new dist folder and I loose my project.

How to watch a project to make changes.

 

I am using mac terminal.

 

Thanks

distfoundation watchwatch

Hello, I need some help.

To change my css I used to use compass watch, and than, when I changed the .sccs file it automatic update de css file.

Now when I use Foundation Watch to do the same, this command create a new dist folder and I loose my project.

How to watch a project to make changes.

 

I am using mac terminal.

 

Thanks

Joshua Newell almost 2 years ago

Hi BRuno,

I am new to using Foundation 6 also - welcome aboard. I had a similar issue to you and it's taken a short while to figure it out, are you editing your files inside of the dist folder - it appears that this is the wrong thing to do considering the files in that folder will be generated from the "src" folder.

 

If you're editing the home page (index.html) you should be doing so via /src/pages/index.html and of course adding your assets into the specified folders inside of the src folder. You can then save and close the project at any time and run "foundation watch" without the risk of your files being overwritten.