Commit graph

29 commits

Author SHA1 Message Date
Loris Bettazza
14f1799047 Add prettier config and format script 2022-09-30 21:09:56 +02:00
Loris Bettazza
a538670c77 Add prettier devDependency 2022-09-30 21:09:56 +02:00
Zoë Hoekstra
207e4d521e
Fix filenames deleted file api calls 2022-09-29 20:49:17 +02:00
Alt
c8873968e5
Merge pull request #5 from jwcorle/patch-1
Fix `deleteFile` events
2022-09-28 22:49:13 +02:00
James
798c240e70
Fix deleteFile events
Previously when deleting a file, I received:
```json
{ jsonrpc: '2.0', error: 'Message misses parameters', id: 1 }
```

This was due to the missing `server` parameter that is required when sending a `deleteFile` event. This PR just adds in the missing parameter.
2022-09-28 16:29:08 -04:00
Alt
da4b9d2bb2
Merge pull request #3 from sugardave/main
update repo URL
2022-09-25 20:20:16 +02:00
Zoë Hoekstra
09bfd00fc4
Patch to get around Bitburner's filehandling 2022-09-19 20:02:05 +02:00
sugardave
ae728e6e83
update repo URL 2022-09-06 20:37:21 -05:00
Alt
b89909937b
Add missing import 2022-08-28 22:15:58 +02:00
Alt
8f47520a63
Add arg parameters to allow settings through CLI 2022-08-28 18:12:09 +02:00
Alt
5520fa3430
Merge pull request #2 from RyanHx/push-on-conn
Push all files on connection
2022-08-28 17:09:31 +02:00
RyanHx
e05a445544 Descriptive config name 2022-08-28 15:55:57 +01:00
RyanHx
e37990afab No need for extra event if push all 2022-08-28 15:54:42 +01:00
RyanHx
fdebd610b1 Update example 2022-08-28 15:16:00 +01:00
RyanHx
53a872a11b Emit MessageSend for every file 2022-08-28 15:12:36 +01:00
RyanHx
64761fa9d7 Add pushOnCon option 2022-08-28 15:12:17 +01:00
Alt
dce76e677f
Merge pull request #1 from RyanHx/crash-fixes
Crash & filewatch fixes
2022-08-28 11:32:28 +02:00
RyanHx
c1c9847427 Prevent watch initialization before config 2022-08-28 02:25:40 +01:00
RyanHx
82269a64b9 Reference correct variable 2022-08-28 02:25:40 +01:00
RyanHx
95563abda0 Fix undefined request crash, pass paths directly 2022-08-28 02:25:40 +01:00
Zoë Hoekstra
b7c0761822
Automatic formatting pass 2022-08-25 23:57:49 +02:00
Zoë Hoekstra
afb9ceccab
Bump version to 1.1.0 2022-08-25 23:52:33 +02:00
Zoë Hoekstra
880cc5be51
Synchronize missing files on start (rq #4044)
Synchronize files that the game doesn't have yet, skip any files it
knows about already.
Requires Bitburner PR #4044: https://github.com/danielyxie/bitburner/pull/4044
2022-08-25 23:46:43 +02:00
Zoë Hoekstra
ccf38f2df4
Fix folder watching and push message 2022-08-25 19:52:43 +02:00
Zoë Hoekstra
363fa300c2
Allow recursive watching of folders 2022-08-25 18:56:24 +02:00
Zoë Hoekstra
75cf4b5d37
README + package naming update 2022-08-24 16:35:29 +02:00
Zoë Hoekstra
10f274ed52
🦭 Seal of approval for regular use 2022-08-24 15:50:01 +02:00
Zoë Hoekstra
7c571687bf
Initial version 2022-08-23 20:00:48 +02:00
Alt
0b660d01bd
Initial commit 2022-08-23 19:07:51 +02:00