# Where should i write sass in ionic folder?

**URL:** <https://forum.ionicframework.com/t/where-should-i-write-sass-in-ionic-folder/74326>\
**Category:** ionic-v1\
**Created:** [December 25, 2016, 8:01am UTC](https://forum.ionicframework.com/t/where-should-i-write-sass-in-ionic-folder/74326 "2016-12-25T08:01:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohitk1994](https://avatars.discourse-cdn.com/v4/letter/r/7feea3/32.png) [@rohitk1994](https://forum.ionicframework.com/u/rohitk1994)\
**Post date:** [December 25, 2016, 8:01am UTC](https://forum.ionicframework.com/t/where-should-i-write-sass-in-ionic-folder/74326/1 "2016-12-25T08:01:37Z")

</div>

Hi,  
Please anyone tell where should i write sass in ionic project.  
and how to start sass in ionic.

Thanks

---

<div class="post-metadata">

**Author:** ![adityajaiz](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@adityajaiz](https://forum.ionicframework.com/u/adityajaiz)\
**Post date:** [December 26, 2016, 10:43am UTC](https://forum.ionicframework.com/t/where-should-i-write-sass-in-ionic-folder/74326/2 "2016-12-26T10:43:56Z")

</div>

Hi Rohit Kumar,

Setup Sass Automatically

$ ionic setup sass  
You can start to write your sass in your ./scss/ionic.app.scss file.  
Setup Sass Manually

1.Run npm install from the working directory of an Ionic project. This will install gulp.js and a few handy tasks, such as gulp-sass and gulp-minify-css.  
2.Remove from the of the root index.html file.  
3.Remove from the of the root index.html file.  
4.Add to the of the root index.html file.  
[5.In](http://5.In) the ionic.project file, add the JavaScript property “gulpStartupTasks”: [“sass”, “watch”] (this can also be customized to whatever gulp tasks you’d like).

---

<div class="post-metadata">

**Author:** ![rohitk1994](https://avatars.discourse-cdn.com/v4/letter/r/7feea3/32.png) [@rohitk1994](https://forum.ionicframework.com/u/rohitk1994)\
**Post date:** [December 26, 2016, 11:17am UTC](https://forum.ionicframework.com/t/where-should-i-write-sass-in-ionic-folder/74326/3 "2016-12-26T11:17:44Z")

</div>

thanks.

but when i make any changes in sass file then it is not working automatically.

when i run gulp sass then only its reflecting.

---

<div class="post-metadata">

**Author:** ![adityajaiz](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@adityajaiz](https://forum.ionicframework.com/u/adityajaiz)\
**Post date:** [December 26, 2016, 4:40pm UTC](https://forum.ionicframework.com/t/where-should-i-write-sass-in-ionic-folder/74326/4 "2016-12-26T16:40:41Z")

</div>

> [@rohitk1994](#):
>
> when i make any changes in sass file then it is not working automatically

Rohit,

I found the Solution: One of the .scss files in my /scss folder was causing Sass to stop compiling.

The “problematic” file was an old copy of the project’s main .scss file, but when I compared that old version with the latest version, I only see a handful of differences in terms of properties, values and a media query at the bottom of the code.

Other than that, both, the “problematic” and “correct/working” files are pretty much 98% exactly the same.

Read a more extensive answer in the project’s issues list in GitHub: ["Listen has fallen back to polling" and won't watch · Issue #362 · sass/sass · GitHub](https://github.com/nex3/sass/issues/362#issuecomment-11255429)

Let me know if it is works! 🙂
