Giter Club home page Giter Club logo

Comments (4)

ragingwind avatar ragingwind commented on July 4, 2024

Did you see an error message on console of chrome? Watch task is working well. I suspect that live-reload connection problems. I think It's not related with target os. I used to second laptop with chrome book pixel which I installed devtools for developing and testing the generator.

from generator-chromeapp.

davidmaxwaterman avatar davidmaxwaterman commented on July 4, 2024

no error on chrome console...completely empty....same when I reload.
I'm just using a fresh install from this generator and adding 'MAXWASHERE' in the <h1> on the index.html page, via vim in crouton.
no clues, I'm afraid :/
I agree, that the watch task seem to be working (from the messages from the grunt shell's stdout).
I wonder how the grunt task controls the browser? I'd say that running a server inside crouton adds some complexity that surely must be suspect. The only way I can think of that it would work is by keeping a socket open and sending a redirect to the page when something changes...but perhaps I should look more closely.

from generator-chromeapp.

ragingwind avatar ragingwind commented on July 4, 2024

Do you wonder this? https://github.com/gruntjs/grunt-contrib-watch/blob/master/docs/watch-examples.md#enabling-live-reload-in-your-html

from generator-chromeapp.

davidmaxwaterman avatar davidmaxwaterman commented on July 4, 2024

ha, yeah...though that then has me wondering how it was working for me on chrome/ubuntu since I don't recall every making such a change, or adding the extension...
I just tried the extension but it wasn't completely obvious how to make it work (ie it didn't work), but I'll try to read on that.
I guess this is not an issue then, and can be closed. I'll re-open if I manage to get to a point where I think it should work but still doesn't. Thanks.

from generator-chromeapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.