🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

amble

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amble

a nice watcher for software development

1.3.0
latest
Source
npm
Version published
Weekly downloads
2.4K
102.29%
Maintainers
1
Weekly downloads
 
Created
Source

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.js file, 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 Paul Miller's chokidar library

MIT

FAQs

Package last updated on 22 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts