Git Product home page Git Product logo

hawkins's People

Contributors

awood avatar bomberstudios avatar cori avatar komidore64 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hawkins's Issues

Jekyll 4.0.0

Hey there,

could you provide an update for Jekyll 4.0.0?

-Nico

Livereload script is served from invalid URL http://0.0.0.0:35729/livereload.js

Hi,

I'm trying to setup a container image that serves my Jekyll sites for my development environment. Because of this, is use host: 0.0.0.0 in my _config.yml file. This allows my container to serve the site from all interfaces.

However, this causes Hawkins to serve the Livereload script from http://0.0.0.0:35729/livereload.js which is a non-routable address and doesn't work on some browsers (e.g. Chrome on Windows).

Is there any workaround to make the plugin override the host value when rendering the script tag and use something like http://localhost:35729/livereload.js? Or use a relative URL, like /livereload.js?

Thanks!

Get error when I manually refresh page 3 times.

Just run jekyll liveserve, and then visit localhost:4000, click refresh page 3 times, then server crashed, this is the whole logs:

Configuration file: /home/fangxing/fffx/_config.yml
            Source: /home/fangxing/fffx
       Destination: /home/fangxing/fffx/_site
 Incremental build: enabled
      Generating...
                    done in 0.42 seconds.
 Auto-regeneration: enabled for '/home/fangxing/fffx'
Configuration file: /home/fangxing/fffx/_config.yml
    Server address: http://0.0.0.0:4000/
 LiveReload Server: 0.0.0.0:35729
  Server running... press ctrl-c to stop.
        LiveReload: Browser connected
jekyll 3.6.2 | Error:  Could not parse data entirely (0 != 251)

If this didn't happens to you, try keep click refresh , it should happened.
Update: This issue should belong to http-parser httprb/http#22

On reload style sheet is missing/empty.

When I use the strategy of a main.scss file that imports scss partials I get an unstyled page. I believe it is because LiveReload is only watching the main.scss and only reloads that main.scss file and not the main.css? But I have to manually refresh the page each time the site is re-generated. I created a demo repo to illustrate the issue. Any ideas on how to fix this?

I ran jekyll liveserve --verbose and the output is below.

       Rendering: index.html
  Pre-Render Hooks: index.html
  Rendering Liquid: index.html
  Rendering Markup: index.html
  Rendering Layout: index.html
         Rendering: assets/css/styles.scss
  Pre-Render Hooks: assets/css/styles.scss
  Rendering Liquid: assets/css/styles.scss
  Rendering Markup: assets/css/styles.scss
        LiveReload: Ignoring []
        LiveReload: Reloading index.html
        LiveReload: Reloading assets/css/styles.scss

Here is a repo that demos the issue. https://github.com/NickStees/jekyll-live-reload-bootstrap-scss

Doesn't work with Jekyll 3.0 only 3.1+

Github-pages is still using Jekyll 3.0 (3.0.5), your code is highly dependent on the codebase of 3.1.

You should change your gemspec to reflect that it needs ~> 3.1.0

Can't install on windows

Hi

I'm new to Ruby, I'm running Windows and installed ruby via choc install ruby. This is currently my gemfile:

source "https://rubygems.org"

gem 'jekyll'
gem 'hawkins'

When I run bundle install I get the following error:

Gem::InstallError: The 'http_parser.rb' native gem requires installed build
tools.

Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'

An error occurred while installing http_parser.rb (0.6.0), and Bundler cannot
continue.
Make sure that `gem install http_parser.rb -v '0.6.0'` succeeds before bundling.

{{site.url}} returns the actual site url instead of localhost:4000

Whenever I'm working on my Jekyll site with livereload, any links using {{site.url}}/page go to mydomain.com instead of localhost:4000, so whenever I click on a link in my site it redirects to the production domain instead of development.

The jekyll docs say that:

site.url: Contains the url of your site as it is configured in the _config.yml. For example, if you have url: http://mysite.com in your configuration file, then it will be accessible in Liquid as site.url. For the development environment there is an exception, if you are running jekyll serve in a development environment site.url will be set to the value of host, port, and SSL-related options. This defaults to url: http://localhost:4000.

Can this be fixed? Thanks.

post command results in limited post configuration

as noted in https://talk.jekyllrb.com/t/a-tool-for-automatic-browser-refreshes/2150/7, the post command creates a new post file with the correct title and filename, but it's missing some of the basic yaml front-matter, specifically the layout entry that styles the post as a post (and therefore loads the rest of the site style as well as the liveserver js if running under the liveserver command.

Perhaps this is intended behavior, and not hard to fix once the problem is understood, though.

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.