Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-watch-and-run

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-watch-and-run - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

10

cjs/index.js

@@ -143,11 +143,11 @@ "use strict";

// check params, throw Errors if not valid and return a new object representing the state of the plugin
const watchAndRunConf = await checkConf(params);
exports.kindWithPath.forEach((kind) => {
const watchAndRunConf = checkConf(params);
for (const kind of exports.kindWithPath) {
const _watcher = async (absolutePath) => watcher(absolutePath, kind, watchAndRunConf);
server.watcher.on(kind, _watcher);
});
exports.kindWithoutPath.forEach((kind) => {
}
for (const kind of exports.kindWithoutPath) {
const _watcher = () => watcher(null, kind, watchAndRunConf);
server.watcher.on(kind, _watcher);
});
}
},

@@ -154,0 +154,0 @@ };

@@ -139,13 +139,13 @@ import { Log, logCyan, logGreen, logMagneta, logRed } from '@kitql/helper';

// check params, throw Errors if not valid and return a new object representing the state of the plugin
const watchAndRunConf = await checkConf(params);
kindWithPath.forEach((kind) => {
const watchAndRunConf = checkConf(params);
for (const kind of kindWithPath) {
const _watcher = async (absolutePath) => watcher(absolutePath, kind, watchAndRunConf);
server.watcher.on(kind, _watcher);
});
kindWithoutPath.forEach((kind) => {
}
for (const kind of kindWithoutPath) {
const _watcher = () => watcher(null, kind, watchAndRunConf);
server.watcher.on(kind, _watcher);
});
}
},
};
}
{
"name": "vite-plugin-watch-and-run",
"version": "1.1.2",
"version": "1.1.3",
"description": "vite-plugin that will watch some files and run a package.json script on change",
"dependencies": {
"@kitql/helper": "0.6.1",
"micromatch": "4.0.5"
"micromatch": "4.0.5",
"@kitql/helper": "0.6.1"
},

@@ -9,0 +9,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc