Scripts/Editor/Data/Configuration/WitConfigurationPostprocessor.cs (13 lines of code) (raw):
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
using UnityEditor;
namespace Facebook.WitAi.Data.Configuration
{
public class WitConfigurationPostprocessor : AssetPostprocessor
{
private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets,
string[] movedFromAssetPaths)
{
WitConfigurationUtility.NeedsConfigReload();
}
}
}