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
0
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.7.1 to 1.7.2-next.0

11

CHANGELOG.md
# @kitql/vite-plugin-watch-and-run
## 1.7.2-next.0
### Patch Changes
- [#801](https://github.com/jycouet/kitql/pull/801)
[`50da081`](https://github.com/jycouet/kitql/commit/50da081607f041431006a3f250009c8603a98d4d)
Thanks [@kerryj89](https://github.com/kerryj89)! - watch support path outside of current directory
- Updated dependencies []:
- @kitql/helpers@0.8.10
## 1.7.1

@@ -4,0 +15,0 @@

@@ -173,2 +173,7 @@ "use strict";

const watchAndRunConf = checkConf(params);
for (const conf of watchAndRunConf) {
if (conf.watch) {
server.watcher.add(conf.watch);
}
}
for (const kind of kindWithPath) {

@@ -175,0 +180,0 @@ const _watcher = async (absolutePath) => watcher(server, absolutePath, kind, watchAndRunConf);

1

esm/index.d.ts

@@ -61,2 +61,3 @@ import type { PluginOption, ViteDevServer } from 'vite';

getCheckedConf: () => StateDetail[];
configureServer: (server: ViteDevServer) => void;
};

@@ -150,2 +150,8 @@ import { spawn } from 'child_process';

const watchAndRunConf = checkConf(params);
// watch files outside of Vite root directory
for (const conf of watchAndRunConf) {
if (conf.watch) {
server.watcher.add(conf.watch);
}
}
for (const kind of kindWithPath) {

@@ -152,0 +158,0 @@ const _watcher = async (absolutePath) => watcher(server, absolutePath, kind, watchAndRunConf);

2

package.json

@@ -7,3 +7,3 @@ {

],
"version": "1.7.1",
"version": "1.7.2-next.0",
"license": "MIT",

@@ -10,0 +10,0 @@ "type": "module",

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