plugins/themeBuilder/ThemeBuilderPluginController.js
function setupWatcher(app, dbAction, name) {
    dbAction.get("findByName", name, function (err, theme) {
        if (!err && theme) {
            require(utils.getLibPath() + "/static/ThemesWatcher").cacheAndWatchTheme(app, theme);
        }
    });
}
function setupWatcher(app, dbAction, name) {
    dbAction.get("findByName", name, function (err, theme) {
        if (!err && theme) {
            require(utils.getLibPath() + "/static/ThemesWatcher").cacheAndWatchTheme(app, theme);
        }
    });
}
function setupWatcher ( app , dbAction , name ) { dbAction . get ( "findByName" , name , function ( err , theme ) { if ( ! err && theme ) { require ( utils . getLibPath ( ) + "/static/ThemesWatcher" ) . cacheAndWatchTheme ( app , theme ) ; } } ) ; }
Setup watcher for newly created theme for changes
@param app
@param dbAction
@param name
Setup watcher for newly created theme for changes