1.3.0 • Published 3 years ago

amble v1.3.0

Weekly downloads
102
License
MIT
Repository
github
Last release
3 years ago

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

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.0.7

5 years ago

0.0.6

6 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago