Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page Watcher Lacks CSS #11

Open
phil-kt opened this issue Nov 19, 2015 · 1 comment
Open

Page Watcher Lacks CSS #11

phil-kt opened this issue Nov 19, 2015 · 1 comment

Comments

@phil-kt
Copy link

phil-kt commented Nov 19, 2015

When I update the css of a page I have in pages/directory/*.jsx, it seems like when the watcher updates it cannot find the css file associated with the page and thus just display plain HTML.

I'm not sure what exactly in the gulp:watch task/browsersync setting needs to be edited, as I thought the middleware provided was supposed to solve this issue.

pls help

perhaps the comments in #6 by dkimbell13 are pertinent?

@phil-kt
Copy link
Author

phil-kt commented Nov 19, 2015

Okay, so it looks like the gulp styles looks for the css file in the path that the file is in, in this case /directory/.css, when it's actually in /css/.css after a page reload.

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

No branches or pull requests

1 participant