@pronto-tools-and-more/pronto 3.10.2 → 3.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/pronto",
3
- "version": "3.10.2",
3
+ "version": "3.10.3",
4
4
  "description": "",
5
5
  "main": "src/main.js",
6
6
  "type": "module",
@@ -13,10 +13,10 @@
13
13
  "author": "",
14
14
  "license": "MIT",
15
15
  "dependencies": {
16
- "@pronto-tools-and-more/file-watcher": "3.10.2",
17
- "@pronto-tools-and-more/files": "3.10.2",
18
- "@pronto-tools-and-more/network-process": "3.10.2",
19
- "@pronto-tools-and-more/sass-compiler": "3.10.2",
16
+ "@pronto-tools-and-more/file-watcher": "3.10.3",
17
+ "@pronto-tools-and-more/files": "3.10.3",
18
+ "@pronto-tools-and-more/network-process": "3.10.3",
19
+ "@pronto-tools-and-more/sass-compiler": "3.10.3",
20
20
  "@lvce-editor/assert": "^1.2.0",
21
21
  "@lvce-editor/ipc": "^9.1.0",
22
22
  "@lvce-editor/json-rpc": "^1.3.0",
@@ -30,7 +30,7 @@ const handleData = async (clients, chunks, data, errorColor) => {
30
30
 
31
31
  export const create = async (webSocketServer, errorColor) => {
32
32
  try {
33
- await rm(SOCKET_FILE, { force: true });
33
+ await rm(SOCKET_FILE, { force: true, recursive: true });
34
34
 
35
35
  /**
36
36
  *
@@ -24,6 +24,6 @@ export const createServer = async (root, errorColor) => {
24
24
  );
25
25
  };
26
26
  FileWatcher.create(watcherRoot, handleFileChange);
27
- ChangeWatcher.create(webSocketServer);
27
+ ChangeWatcher.create(webSocketServer, errorColor);
28
28
  return server;
29
29
  };