1
votes

Which file we should upload to server .scss or .css when we use Sass?

I read about Sass and Compass it makes these folders and files

enter image description here

I write scss in which gives output in .css file of same name.

My question do i need update whole folder to FTP or just .css file.?

I work with both .net and .php based websites.

2

2 Answers

9
votes

the css is what the html pages will refer to. So thats the one you need to upload.

For source control, you only really need to keep the sass.

1
votes

If you do not intend to do the compiling job on the server (like many Rails developers did with Capistrano), then no need to upload any sass files onto it. As Keith suggested, you need to keep sass files in source control repository and upload the css files. It's just like (more or less) compiling a c source code into binary executive files.