1

Since compass no longer works with the latest version of Sencha Touch, I looked for a way to compile my sass and I found sencha ant sass does the trick. But I found that executing the command each time I changed my sass was a bit annoying so I found sencha app watch that watches for ANY changes inside the application, whether it is sass or source code, and build the whole thing.

Is there a way to sencha app watch only sass code ?

EDIT:
Using Compass 1.0.1 (Polaris) Sencha Cmd v5.0.3.324 SenchaTouch 2.4.0

Mehdiway
  • 10,337
  • 8
  • 36
  • 68
  • Wow, which version of Sencha are you using? compass watch works perfectly for me. (version 2.4.0) – Dinkheller Nov 12 '14 at 07:25
  • "Since compass no longer works..." How isn't it working? – sherb Nov 13 '14 at 05:36
  • @sherb I read in a blog post by the Ext team that compass no longer understands the new file structure of SenchaTouch apps. It gives me errors about undefined mixins and stuff inside the `touch` folder that I haven't modified. – Mehdiway Nov 13 '14 at 10:05

1 Answers1

0

I had the same problem. Run your command with:

sencha ant sass -watch

It will monitor the sass files for changes and compile them on the fly just same as compass native command.

albanx
  • 6,193
  • 9
  • 67
  • 97