Add handle_file_change to plugin API

This solves the problem I was running into with the ScriptPlugin implementation -- if foo/init.lua changes, foo needs to be requested, not 'foo/init.lua' (which would then erroneously create a ModuleScript before this commit)
This commit is contained in:
Lucien Greathouse 2017-12-17 22:46:56 -08:00
parent c75cbebbf0
commit 6472a2cbce
4 changed files with 51 additions and 16 deletions

View file

@ -4,3 +4,5 @@ pub struct Config {
pub verbose: bool,
pub server_id: u64,
}
pub type Route = Vec<String>;