Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

CSS not being injected #579

Closed
ankitjainOfficial opened this issue Aug 1, 2015 · 11 comments
Closed

CSS not being injected #579

ankitjainOfficial opened this issue Aug 1, 2015 · 11 comments

Comments

@ankitjainOfficial
Copy link

The generator is running fine, only thing is that the CSS is not being injected and have to do a manual refresh.

Though, css is being generated.

Completed in 2.435s at Sat Aug 01 2015 13:13:32 GMT+0530 (IST) - Waiting...
>> File "app/styles/main.scss" changed.
Running "sass:server" (sass) task

Running "postcss:dist" (postcss) task
>> 1 processed stylesheet created.

Done, without errors.


Execution Time (2015-08-01 07:45:44 UTC)
loading tasks          482ms  ▇▇▇▇▇▇ 15%
loading grunt-sass     130ms  ▇▇ 4%
sass:server            809ms  ▇▇▇▇▇▇▇▇▇▇▇ 26%
loading grunt-postcss  769ms  ▇▇▇▇▇▇▇▇▇▇ 24%
postcss:dist           948ms  ▇▇▇▇▇▇▇▇▇▇▇▇ 30%
Total 3.1s

Completed in 3.999s at Sat Aug 01 2015 13:15:47 GMT+0530 (IST) - Waiting...
@silvenon
Copy link
Member

silvenon commented Aug 1, 2015

Which version are you running? Do you have JavaScript enabled?

@ankitjainOfficial
Copy link
Author

generator-webapp 1.0.1 and yes, javascript is enabled.

@tulsadome
Copy link

Im having this exact same problem. I spent a few hours trying to edit the gruntfile with no luck and I ended up switching to gulp-webapp which works perfectly with all the same code.

@Caesor
Copy link

Caesor commented Aug 7, 2015

hi @ankitjainOfficial , have you fixed this error? I have the same problem.

@ankitjainOfficial
Copy link
Author

No. I don't have much knowledge with grunt. I generally use gulp, but this
is one of the projects where I needed to use this generator.

On Fri 7 Aug, 2015 9:27 am zekai [email protected] wrote:

hi @ankitjainOfficial https://github.com/ankitjainOfficial , have you
fixed this error? I have the same problem.


Reply to this email directly or view it on GitHub
yeoman/generator-webapp#579 (comment)
.

@philwolstenholme
Copy link

I'm also seeing this with version 1.0.1, for a project freshly scaffolded on 14/08/2015.

@silvenon
Copy link
Member

Probably related to BrowserSync/grunt-browser-sync#117.

@silvenon
Copy link
Member

silvenon commented Sep 8, 2015

It seems that grunt-browser-sync isn't necessary. I'll implement this solution one of these days, in the meantime you guys can try it if you're in an urgent situation.

@hersonls
Copy link

Hey guys, I had the same problem here. What I noticed was that, when using a dotfile directory ".tmp", it ignores the files. I modified the directory ".tmp" to just "tmp" and it worked perfectly.

I spent a few hours looking for a solution to this problem, to keep the ".tmp" working. Maybe you can help me with this. I saw something about dot[0] in grunt Files configuration, but no success with in my tries.

[0] - http://gruntjs.com/configuring-tasks#files

@silvenon
Copy link
Member

I heard from multiple people that removing . from .tmp worked for them. I wonder why, it doesn't seem to make any sense 😕

@silvenon
Copy link
Member

The fix is released in v1.1.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants