GithubHelp home page GithubHelp logo

zakj / refreshify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexandergugel/refreshify

0.0 3.0 0.0 383 KB

watch mode on steroids for browserify builds (live-reload and desktop notifications)

License: MIT License

JavaScript 99.28% HTML 0.72%

refreshify's Introduction

refreshify

watch mode on steroids for browserify builds

Features

build status

Update any source file and your browserify bundle will be recompiled on the spot.

  • recompiles your browserify bundle as soon as a source file changes
  • notifies you via native desktop notification if your build fails

notification

  • live-reload built in

live-reload

  • server/protocol agnostic: No need to have a local dev server, even works when files are beign served from the local file system

protocol

Example

Use refreshify with all the same arguments as browserify except that -o is mandatory:

$ refreshify main.js -o static/bundle.js

Now as you update files, static/bundle.js will be automatically incrementally rebuilt on the fly.

You can use -v to get more verbose output to show when a file was written and how long the bundling took (in seconds):

$ refreshify browser.js -d -o static/bundle.js -v
610598 bytes written to static/bundle.js  0.23s
610606 bytes written to static/bundle.js  0.10s
610597 bytes written to static/bundle.js  0.14s
610606 bytes written to static/bundle.js  0.08s
610597 bytes written to static/bundle.js  0.08s
610597 bytes written to static/bundle.js  0.19s

To run the example included in this repo, run npm run example.

Install

With npm do:

$ npm install -g refreshify

to get the global refreshify command.

License

MIT

refreshify's People

Contributors

alexandergugel avatar

Watchers

Zak Johnson avatar James Cloos avatar  avatar

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.