amble

a nice watcher for software development

amble

a clean way to 'hot-reload' a node.js script in the console.

npm i amble

then in your project

amble ./toRun.js

this will run file and watch all relevant files recursively.

i like to create a ./scratch.jsfile, with my current stuff in it, so i run put this in my package.json:

{
    "scripts":{
        "watch":"amble ./scratch.js"
    }
}

javascript access

var amble=require('amble')
amble({exec:'./scratch', watch:'./'})

if you want to pass arguments into node, put them after your filename:

amble scratch.mjs --experimental-modules

huge thanks to Kyle Robinson Young's gaze library

MIT

Repository

https://github.com/spencermountain/amble


上一篇:node-opcua-isa95
下一篇:efrt-unpack

相关推荐

  • package-preamble

    Generate a tiny preamble from a package.json. Package Preamble Generates a minimalist preamble fr...

    1 年前
  • lambleg

    Node module for invoke JavaScript function on AWS Lambda lambleg Node module for create/invoke Ja...

    6 个月前
  • jscrambler

    Jscrambler API client. Jscrambler(https://media.jscrambler.com/images/logo500px.png)(https://jscra...

    10 个月前
  • eslint-config-rambler

    Dotfiles for rambler projects npm version(https://badge.fury.io/js/eslintconfigrambler.svg)(https:/...

    1 年前
  • email-scramble

    Scrambles email addresses and phone numbers with ROT18 to hide them from bots emailscramble =======...

    9 个月前
  • @code-dot-org/bramble

    undefined Bramble is based on Brackets Brackets is a modern opensource code editor for HTML, CSS ...

    3 个月前

官方社区

扫码加入 JavaScript 社区