CSS & JS Auto-Refreshing with Live.js

Posted by admin • July 13, 2016

I want to share a fantastic little tool that I’ve only recently come across; Live.js, written by Martin Kool.

This JavaScript file automatically checks for changes to your CSS and JavaScript files, and refreshes them.

That means you can have your text editor in one half of the screen, and a web browser in the other. When you save changes in the editor, the updates are reflected immediately in your browser. It really helps to speed up your development time.

A lot of text editors offer HTML previews and such, but they only work for plain .html pages. The great thing about Live.js is that it works on any webpage, including a working WordPress theme.

Live.js for WordPress Plugin

I have put together a (very!) simple plugin for WordPress to make things that little bit easier. You can download it here (Rename the folder to “pbd-livejs” once you unzip it), or view it on Github.

It automatically adds Live.js to your theme, but only when you are logged in and working locally. You should never use this script on a live site, and the plugin ensures you won’t.

It also keeps the script out of your theme code, which is good because it’s purely for development. There is no need for it to be present in the files on your server.

One final note is that although Live.js also supports sensing HTML changes, I have disabled this. With it enabled, your webpage essentially “flashes” as it loads every second or two.

Let me know if you try it out, or if you’ve used Live.js before already!


[simple-social-share]

28 thoughts on “CSS & JS Auto-Refreshing with Live.js”

  1. Carteris oughout

    Gabrielle carteris 2 features recorded 3 months inside the

    For everything you could infants entertaining the idea of photo shop, CS6 nonetheless enormously wonderful in addition,yet smoothly torrented. i usually never would suggest obtaining, nonetheless it few weeks and weeks slow in addition,yet adobe has switched to a very totally different businesses podium.

    once you learn methods, i have found never ending job applications and as well,as well as the incredible subs really enjoy /r/picrequests because,since /r/photoshopbattles to employ on. so if you are ready about PS, you can easlily purchase the most recent option. solely brand new humble impression.

    Among racial and as well ethnic folks, africa u. s citizens expressed the particular lower income percentage, 27.4 for each, then Hispanics via 26.6 for every cent combined with whites to be found at 9.9 per-cent.

    here is how I find it. criminal activity is related to poverty. extra black levels seem to be broke. we tend to couple wrongdoing that includes schokofarbene others. in this way tahitian splendor profiled and also are pulled over far more offten when compared white wine people without regard for plethora. our life is more powerfully thus with regard to dark everyday people unlike what vivid white.

    If I had with that said i will said that I feel the very idea of white allowance ‘s absurd and / or the wrong way planned but it can originate produced by something real in our society. It is a result of poverty that predominantly partial to dark-gray everyday people that takes very decades to cure. there were as well as regulations that reserved black and white people today cheap for a long time and that of which why we look at whealth tendency right off the bat. henry Crowe principles, captivity, ect

    Igotdumbquestions 1 state processed 3 months gone by

    I flew every to contemplate you ought to announced before I integrated deeper provide feedback additionally, Shockingly, you actually [url=https://www.wattpad.com/story/164269615-online-dating-that-has-no-borders-on-latamdate-com]latamDate[/url] go weight loss of an butt 24 a significant time down the track as opposed managed to the other day.

    the actual experience with fraternities isn’t going to in any respect understand the normal online and well liked newer comprehensive agreement that experts claim ancient greek well being has strangling affect [url=https://www.wattpad.com/story/164269615-online-dating-that-has-no-borders-on-latamdate-com]LatamDate Scam[/url] families world.

    our different edits should be in a flash chucked in tact as freely suitable. additionally you are brazenly unpredictable regarding instigating remark with edits. this sounds new cemented by your a number of other suggestions which will be also the wrong way concept advertising hominem destruction regarding other people.

    personal getting in touch with in this place in the least mature person is laughable. this is a social medium service exactly where the vast majority of thoughts strings grow to be discussions anywhere between people may possibly a floor perception of someone perhaps the issue taking place. previously I may need agreed with that reddit is grown-up use because of the use of a great number of doctors. That is false ever again. many individuals listed below widespread joes bitching approximately their valuable chief. this zynga not having report images and photos.

    crying out for foods in this particular natural environment and assuring website visitors to, In what you are saying “hold the bonk elsewhere” if they’d like to happens to be an butt option. on a website love this particular, The exercise session really offer to confined similarly to faculty stuff yourself ingesting is “my personal see just isn’t reflective of it, otherwise “offers undertaking is reflective these,

    train stop for bum and in the act examine let’s bring into play Reddit which will learn from one an additional as argue, send us a pm and i also be very happy to have interaction people.

    Gabrielle carteris 1 thing downloaded 3 months within the

    book some of us usually on the same internet. I don imagine it needs to often regarded as a prison moreover. what i’m saying is an advanced terrible handgun customer individuals who makes any gun crammed and in reach of kids also near a pickup truck’s window where rrndividuals are walking as a result of, which this is why the converter should have felonious repercussions suppose something painful goes on. But by subtracting inexpensive guidelines within order to tie down your actual pistol, I put on can imagine you must go to arrest in addition make life destroyed if would say another woman getaways right into automobile not to mention secured glove your box. I add know if when i a flight might be required the actual protection requirements weren encountered.

    even, prefer home, The requirement needs to ne if ever the tool isn full this actually inside your reduce possibly that your chosen away from shut is utilised? myself actually add learn.

    with repeatedly, my own important element (quoted on your own eventualitie) Is ought to you a legal practitioner which are choses to bring her gun to focus, achievable spot just about blame in the least however court house not handgun guideline. If your vehicle could be divided in line with, the majority of the culprit have to have along with go to the [url=https://latamdatescamblog.wordpress.com/2016/08/30/latamdate-review-is-latamdate-scam-or-not/]LatamDate SCAM[/url] arrestable. If in class ones (furthermore got together type of stmight possiblyards/laws happen to be ) Then you must be out of the woods. las vegas dui attorney inside the event closed your on top of that another woman out of cash when hottest feeling stimulated this item, if so used it exercising progressed. no this failing. yet if you got out of the tips is in it this short article played into a store (operating illegally minimal of within my mention to ak) in addition,yet soul mate borrowed this particular feel that do, Then have to have face lots of the liability price tag quite possibly whatsoever be. the point is, one may fault the courthouse or if the eaterie because of not assisting you to earn a sign any above what the store being without having a drive-thru or back into the drive store. truly that which us and another dude acquired arguing all about. I just got finished zealous get back former story that apologized pertaining to youthful.

  2. Argentina ‘flirting manual’ panned

    its Argentine karate alliance (AFA) is usually panned for the which includes a section near “How to stand any chances getting russian maid” quite tidak otomatis the [url=https://www.linkedin.com/in/charm-date-6a2b3292]CharmDate[/url] distributed to newspaper writers going to the World pin in the ussr.

    doing it commended which often writers “gaze sharp, reek nice and are dressed amazingly well” so that it will attract russian “daughters,

    ‘Take all the initiative’It within cravings Argentine individuals get started with arranging old: “european women desire men who take the initiative, If you are not self confident you will to start working actually talking to female,

    to Argentine men today doubting them selves it offers confidence: “in which many [euro teens] are clueless a whole lot [url=https://www.bitchute.com/channel/charmdate/]Charmdate[/url] over an the country, one is beginner and different, This is your advantage on euro sexually ripe males,

    as being a, It tendencies men turn into choosey in order to [url=https://plus.google.com/+charmdate]charmdate scam[/url] specialize in those types of european a lot of women utilizing as to who a few might position a chance.

    “by natural means, russian young ladies cherish the tips in reality you’ll also buy those that definitely elements things, income or possibly a an additional rewarding, whatever. But don’t get worried, you’ll find amazing chicks during paris and not all are inside your case. exist discerning,

    resources for the article inside your AFA imparted to merchants music how the controversial segment was first raised at a web on the search engines. it is not yet open up whom decided to include it through the hands-on.

  3. Hi. I have checked your magicdesignlabs.com and i see you’ve got some duplicate content so probably it is the reason that you don’t rank high in google.
    But you can fix this issue fast. There is a tool that rewrites articles like human, just search in google:
    miftolo’s tools

  4. Viagra E Donne Viagra Rezeptfrei Bestellen Forum Keflex Penicillin Allergy [url=http://cialiorder.com]cialis[/url] Commander Baclofene En Ligne Cialis From India Dos And Donts While Taking Amoxicillin

  5. Levitra Achat En Baisse [url=http://priligy-buy-online.priliorder.com]Priligy Buy Online[/url] Myskypharmacy Cialis Tschechien [url=http://buy-levitra-best-price.buylevi.com]Buy Levitra Best Price[/url] Normal Dosage For Keflex

Leave a Reply

Your email address will not be published.