🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

ts-node-dev

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-node-dev - npm Package Compare versions

Comparing version

to
1.0.0-pre.33

6

lib/index.js

@@ -39,3 +39,7 @@ var fork = require('child_process').fork

var watcher = filewatcher({ forcePolling: opts.poll })
var watcher = filewatcher({
forcePolling: opts.poll,
interval: parseInt(opts.interval),
debounce: parseInt(opts.debounce)
})
var starting = false

@@ -42,0 +46,0 @@ watcher.on('change', function(file) {

4

package.json
{
"name": "ts-node-dev",
"version": "1.0.0-pre.32",
"version": "1.0.0-pre.33",
"description": "Compiles your TS app and restarts when files are modified.",

@@ -42,3 +42,3 @@ "keywords": [

"test-node-dev": "tap test/*.js",
"test": "node ./bin/ts-node-dev -r tsconfig-paths/register -r ./test/ts/add-require.js -r ./test/ts/add-require-2.js -O \"{\\\"module\\\": \\\"commonjs\\\"}\" --preserve-symlinks --respawn --ignore-watch 'lib' --ignore-watch bin --prefer-ts --debug --cache-directory .ts-node --inspect -- test/ts/test-script test-arg --fd",
"test": "node ./bin/ts-node-dev -r tsconfig-paths/register -r ./test/ts/add-require.js -r ./test/ts/add-require-2.js -O \"{\\\"module\\\": \\\"commonjs\\\"}\" --preserve-symlinks --respawn --ignore-watch 'lib' --ignore-watch bin --prefer-ts --debug --poll --interval 1000 --cache-directory .ts-node --inspect -- test/ts/test-script test-arg --fd",
"test-docker": "docker run --rm -v ${PWD}:/app mhart/alpine-node:8.7.0 sh -c 'cd app && node ./bin/ts-node-dev --cache-directory .ts-node test/ts/big'"

@@ -45,0 +45,0 @@ },

@@ -44,2 +44,4 @@ # ts-node-dev

- `--debug` - some additional debug output.
- `--interval` Polling interval (ms)
- `--debounce` Debounce file change events (ms, non-polling mode)

@@ -46,0 +48,0 @@ **Caveats and points of notice:**

Sorry, the diff of this file is not supported yet