PDA

View Full Version : Does SCSS inspection work for other people?



wbabich
9 Oct 2015, 6:49 AM
I'm using the released version of inspector with ExtJS6.0.1 modern toolkit and Sencha Cmd 6.0. I'm using theme-neptune.

I used SenchaCmd to make a new application, then edited app.json and Application.js as instructructed for "Configuration Apps for Connection":
I edited app.json "js" to add the inspector path and Application.js for the launch function, then I edited app.json to enable the sass save property.

Then I used sencha app watch --inspect

I can see the "Personnel" app properly in my Chrome browser, and I can attach to it with Sencha Inspector, but the SCSS (Fashion) icon is greyed out.

Then I tried again, this time specifying my own very-simple theme (which extends theme-neptune), and the theme is properly shown in the application but I still can't use the SCSS (Fashion) icon.

Does it work for other people?

sandeep.adwankar
9 Oct 2015, 2:22 PM
Hi,
Did you use query-string that initializes Fashion- platformTags=fashion:true?
More details at
http://docs.sencha.com/sencha_inspector/theming.html

arthurakay
12 Oct 2015, 4:55 AM
You said you're using the modern toolkit -- try running "sencha app watch modern --inspect" as Cmd may be defaulting to the classic toolkit.

wbabich
12 Oct 2015, 5:10 AM
You said you're using the modern toolkit -- try running "sencha app watch modern --inspect" as Cmd may be defaulting to the classic toolkit.

If I try sencha app watch modern, it says "[ERR] Found extra positional argument modern"
Same result with sencha app modern watch --inspect

This is Sencha Cmd v6.0.1.76

wbabich
12 Oct 2015, 5:20 AM
Hi,
Did you use query-string that initializes Fashion- platformTags=fashion:true?
More details at
http://docs.sencha.com/sencha_inspector/theming.html

Thanks Sandeep. That solved the problem.
I mis-read the document, and was looking at the section about connecting directly.