1
0
Fork 0
mirror of synced 2024-08-26 23:42:06 +12:00

Treat any tarball as plugins when watching plugins directory

This commit is contained in:
Andrew Kingston 2022-08-18 11:23:24 +01:00
parent b7cf65e6dc
commit 249b960ff6

View file

@ -144,7 +144,7 @@ module.exports = server.listen(env.PORT || 0, async () => {
env.PLUGINS_DIR &&
fs.existsSync(env.PLUGINS_DIR)
) {
const watchPath = path.join(env.PLUGINS_DIR, "./**/dist/*.tar.gz")
const watchPath = path.join(env.PLUGINS_DIR, "./**/*.tar.gz")
chokidar
.watch(watchPath, {
ignored: "**/node_modules",