jekyll-watch | Jekyll site when a file changes | Plugin library

 by   jekyll Ruby Version: v2.2.1 License: MIT

kandi X-RAY | jekyll-watch Summary

kandi X-RAY | jekyll-watch Summary

jekyll-watch is a Ruby library typically used in Plugin, Jekyll applications. jekyll-watch has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Rebuild your Jekyll site when a file changes with the --watch switch.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              jekyll-watch has a low active ecosystem.
              It has 86 star(s) with 34 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 4 open issues and 48 have been closed. On average issues are closed in 107 days. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of jekyll-watch is v2.2.1

            kandi-Quality Quality

              jekyll-watch has 0 bugs and 0 code smells.

            kandi-Security Security

              jekyll-watch has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              jekyll-watch code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              jekyll-watch is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              jekyll-watch releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              jekyll-watch saves you 341 person hours of effort in developing the same functionality from scratch.
              It has 816 lines of code, 16 functions and 18 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed jekyll-watch and discovered the below as its top functions. This is intended to give you an instant insight into jekyll-watch implemented functionality, and help decide if they suit your requirements.
            • Starts a timer .
            • Checks for watcher
            • Register a new file
            • Process the site
            • Builds a new listener object .
            • Normalize the given encoding .
            • Extract options from configuration
            • Find config files
            • The exclude options .
            • Overriding infinite loop
            Get all kandi verified functions for this library.

            jekyll-watch Key Features

            No Key Features are available at this moment for jekyll-watch.

            jekyll-watch Examples and Code Snippets

            No Code Snippets are available at this moment for jekyll-watch.

            Community Discussions

            QUESTION

            bundle exec jekyll serve: cannot load such file
            Asked 2021-Jun-15 at 08:37

            I am trying to contribute to a Github Page/Jekyll site and want to be able to visualise changes locally but when I run bundle exec jekyll serve but I get this output:

            ...

            ANSWER

            Answered 2021-Feb-02 at 16:29

            I had the same problem and I found a workaround here at https://github.com/jekyll/jekyll/issues/8523

            Add gem "webrick" to the Gemfile in your website. Than run bundle install

            At this point you can run bundle exec jekyll serve

            For me it works!

            Source https://stackoverflow.com/questions/65989040

            QUESTION

            Github Jekyll Workflow issue
            Asked 2020-Aug-17 at 13:23

            I tried to add the "Jekyll" workflow to my repository in Github, but every time it runs it is marked as failure.

            Here is an error message, I tried to remove Gemfile.lock from exclude (_config.yml) but it didn't help... Here is a repository to which I'm trying to add a workflow: https://github.com/igorkowalczyk/blog

            ...

            ANSWER

            Answered 2020-Aug-17 at 13:23

            After a so many attempts to fix the tests, i finnaly find a solution, thanks you @fredrik*

            Here is my workflow file:

            Source https://stackoverflow.com/questions/63435125

            QUESTION

            jekyll gem reline versions conflict
            Asked 2020-Jun-23 at 05:04

            I tried to create a website using Jekyll.

            I used git clone to copy jekyll-theme-hackcss, and then followed instructions from the arch-wiki rubygems page to get the right gem packages.

            From inside the cloned folder I used:

            ...

            ANSWER

            Answered 2020-Jun-23 at 05:04

            There may be one culprit gem here but you will run into this problem again and again unless you fix your underlying approach.

            Look at your gems environment; all gems are installed into one folder, regardless of the project you’re working on. So, if you have two projects with conflicting dependencies you will get this problem again.

            There are tools, like RVM, which let you create environments for each project. So, each project has its own separate collection of gems and even distinct versions of Ruby if you need 2.7 in one project and 2.5 for another.

            See "Easy way to setting Ruby Version Manager (RVM) on projects" for how to use RVM and create a gemset for each project.

            Source https://stackoverflow.com/questions/62510613

            QUESTION

            Jekyll is not reading new posts
            Asked 2020-Apr-19 at 12:23

            I'm trying to add new posts to my jekyll site. But when I execute "jekyll serve --verbose" I see my new posts are not read by jekyll. I have looked all questions similar to my problem but they didn't work for my case.

            My new post names are 2018-04-18-first.markdown and 2019-04-17-second.markdown but jekyll tries to read default post whic is 2020-04-18-welcome-to-jekyll.markdown

            Putting verbose log below.

            ...

            ANSWER

            Answered 2020-Apr-19 at 07:48

            Make sure you add the front matter tag(Two lines of three dashes ("-")). Like this:

            Source https://stackoverflow.com/questions/61295114

            QUESTION

            Why can't Jekyll find gems that are presented in my Gemfile.lock?
            Asked 2020-Apr-15 at 15:48

            First of all, I'm aware that I'm running the risk that this question is already answered somewhere else, but because I don't know the origin of this issue I'm not sure what to search for to find the answer.

            The Problem

            I'm running bundle and Jekyll locally, which works perfectly fine. But when I install on Travis-CI, it presents me with the error Could not find public_suffix-4.0.4 in any of the sources. However, public_suffix-4.0.4 is clearly in my Gemfile.lock.

            My Question

            What might be causing the problem and what hints should I look for to find an answer?

            Error message

            ...

            ANSWER

            Answered 2020-Apr-15 at 15:43

            If another bundle install didn't work, delete Gemfile.lock then try specifying the version for public_suffix in Gemfile like so:

            Source https://stackoverflow.com/questions/61228784

            QUESTION

            Cannot run github pages locally
            Asked 2020-Jan-01 at 17:01

            I'm trying to run a basic GitHub page locally on macOS.

            Here is my Gemfile:

            ...

            ANSWER

            Answered 2020-Jan-01 at 17:01

            It looks due to the latest update of faraday - a gem depended by github-pages.

            Try this workaround temporarily.

            1. Add the following line to your Gemfile.

              gem 'faraday', '~> 0'

            2. Use command bundle update to update the gem(s) with Gemfile.

              You may see outputs below:

              Fetching faraday 0.17.3 (was 1.0.0)
              Installing faraday 0.17.3 (was 1.0.0)

              That means gem faraday in ./vendor/bundle has been updated to the latest compatible version with the github-pages.

              You can check the version history of faraday at this page on rubygems.org.

            3. Try bundle exec jekyll again.

            4. If it doesn't work yet, try bundle pristine.

            Source https://stackoverflow.com/questions/59553433

            QUESTION

            bundler cannot install commonmarker
            Asked 2019-Nov-14 at 05:48

            I'm trying to set up a GitHub Pages repo. Steps I've followed:

            Install bundler ...

            ANSWER

            Answered 2019-Nov-14 at 05:48

            An alternative would be to "use Jekyll in Windows with Docker" (from James Sturtevant)

            That would take advantage of the Docker image jekyll/jekyll (see its README).

            Source https://stackoverflow.com/questions/58849651

            QUESTION

            Using jekyll with gitlab pages, it says when it's deploying the website with gitlab CI that theme could not be found, and I already installed it
            Asked 2019-Oct-16 at 06:23
            My objetive

            To have a repository with the jekyll site configuration files (but not the _site), and each time I push to the repository, a gitlab pipeline runs. With that pipeline, the site is build with Jekyll (I'm using this theme https://github.com/mmistakes/jekyll-theme-basically-basic)

            A quick view on the essential files which I'm troubling with

            Gemfile

            ...

            ANSWER

            Answered 2019-Oct-16 at 06:23

            In your Gemfile, uncomment #gem "jekyll-theme-basically-basic" to read gem "jekyll-theme-basically-basic".

            For some reasons, in your .gitlab-ci.yml, all the gem install ... are useless, and it's the bundle install that does the required job.

            Source https://stackoverflow.com/questions/58403499

            QUESTION

            `to_specs': Could not find 'railties' (>= 0) among 8 total gem(s) (Gem::LoadError)
            Asked 2019-Jul-04 at 22:49

            I postes this question because I didn't find any related answer on stackoverflow. I did everything. I will explain what I have tried. When I start the Rails server using rails s, I get the following output:

            ...

            ANSWER

            Answered 2019-Jul-03 at 12:33

            The root of the problem seems to be bundler. What operating system and Ruby version are you using? It may be a problem with old OpenSSL library, so you can not install bundler and everything after it.

            If you are using jRuby (your gem list output tells so), your problem seems to be the same as described in link. And there is a solution as well.

            Maybe you forgot to set 2.1.2 version of ruby as global? (rbenv set global 2.1.2)

            Source https://stackoverflow.com/questions/56862701

            QUESTION

            Netlify deployment "failed during stage 'building site': Build script returned non-zero exit code: 42"
            Asked 2019-Jun-28 at 15:52

            I have tried to deploy my Jekyll static site to Netlify (via GitHub) and it was unsuccessful.

            The error message was:

            "failed during stage 'building site': Build script returned non-zero exit code: 42"

            The following was the full Netlify log:

            ...

            ANSWER

            Answered 2019-Jun-27 at 17:16

            The error you're seeing should just be a warning and shouldn't impact deployment. I'd double-check the netlify logs again and see if there's another error you can find.

            The latest published version of jekyll-sass-converter still uses the sass gem. It looks like they haven't released a new version that uses sassc yet.

            If you add the below to your Gemfile, and then run bundle install, Jekyll will pick up the version that uses sassc instead of sass and get you past the warning you see

            Source https://stackoverflow.com/questions/56793964

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install jekyll-watch

            Add this line to your application's Gemfile:.

            Support

            Fork it ( https://github.com/jekyll/jekyll-watch/fork )Create your feature branch (git checkout -b my-new-feature)Commit your changes (git commit -am 'Add some feature')Push to the branch (git push origin my-new-feature)Create a new Pull Request
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/jekyll/jekyll-watch.git

          • CLI

            gh repo clone jekyll/jekyll-watch

          • sshUrl

            git@github.com:jekyll/jekyll-watch.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link