Socket
Socket
Sign inDemoInstall

amble

Package Overview
Dependencies
16
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    amble

a nice watcher for software development


Version published
Weekly downloads
29
increased by52.63%
Maintainers
1
Install size
377 kB
Created
Weekly downloads
 

Readme

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

Last updated on 22 Feb 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc