Coder Social home page Coder Social logo

nucleuside / nucleus-watch-meteor Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 200 KB

Npm module for Nucleus. It watches a directory and a url and revert back changes done in the directory when url crashes. Directory must be containing meteor app which is running on url.

JavaScript 100.00%

nucleus-watch-meteor's Introduction

What?

Custom module for Nucleus. It watches a directory and a url and revert back changes done in the directory when url crashes. Directory must be containing meteor app which is running on url.

Why?

When building Nucleus, one of the problems we are facing is that when user make some change in the app code which result in app crash, there is no way for user to undo/correct that change from within nucleus. This npm module is supposed to run as a separate process along with meteor which will watch the file system, detect when the app crashes, and revert back the changes till the app is back up again.

Is it useful for me?

I don't think so. I am not publishing this over npm for this very reason. I don't think anyone other than Nucleus would have some use for it.

How to use?

Install

npm install -g https://github.com/nucleuside/nucleus-watch-meteor

Usage

nucleus-watch-meteor [options]

Options:

-h, --help output usage information
-V, --version output the version number
-d, --dir <dir> Directory to watch changes in
-u, --url <url> Url where meteor app is running
-w, --wait <n> Wait time in milliseconds

  • -d Directory which has meteor app's source code.
  • -u Url at which the app is running
  • -w Time in milliseconds to wait between changes. When one change in app's code is detected, it waits for XXX milliseconds for next change to occur; if another change occurs in XXX milliseconds, it postpone crash detection till it gets a clean XXX time interval.

nucleus-watch-meteor's People

Contributors

bitspook avatar faceyspacey avatar

Stargazers

JJ avatar

Watchers

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.