This repository has been archived on 2021-07-14. You can view files and clone it, but cannot push or open issues or pull requests.
scriptcraft/src/main/js/modules
Tiago Freitas b480922b15 - Classroom file watcher was not working as expected because lastModifiedTime of a directory is not updated when a file is changed inside it.
- Added functions watchDir/unwatchDir which is responsible for watching all files and subdirectories changes
- Callback is called once for each detected change
- Changed classroom to check for the last "refresh" made to avoid multiple refreshes without changes
- Changed refresh time to 3s because it is much more comfortable
  - I don't think this would be an issue because checking for lastModifiedTime should be very fast, perhaps even 3s is too much time
- Tested in Windows
2014-06-28 13:32:55 +01:00
..
fireworks Making bukkit objects easier to identify by name (bk prefix) 2014-02-19 22:17:19 +00:00
http Changed formatting to use idiomatic style. (like glasses-mode in emacs) 2014-01-29 19:49:15 +00:00
minigames Making bukkit objects easier to identify by name (bk prefix) 2014-02-19 22:17:19 +00:00
signs Omit abstract event classes from events-helper. 2014-04-26 20:20:10 +01:00
utils - Classroom file watcher was not working as expected because lastModifiedTime of a directory is not updated when a file is changed inside it. 2014-06-28 13:32:55 +01:00
blocks.js Added new blocks. and changed Drone.extend to support single param. 2014-05-24 10:55:27 +01:00
input.js Fixed events-helper to include all non-abstract handlers. 2014-05-18 00:35:26 +01:00
items.js Added new blocks. and changed Drone.extend to support single param. 2014-05-24 10:55:27 +01:00
sc-mqtt.js fix typos in comments 2014-02-28 10:10:05 +00:00
sounds.js Fixed events-helper to include all non-abstract handlers. 2014-05-18 00:35:26 +01:00