mape / connect-assetmanager

Middleware for Connect (node.js) for handling your static assets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

runtime files

saggiyogesh opened this issue · comments

I had following configuration for static js files

var assetManagerGroups = {
        'js': {
        'route': /\/static\/js\/main.js/
        , 'path': './public/javascripts/'
        , 'dataType': 'javascript'
        , 'files': ['*']
        , debug:true
        }, 'css': {
        'route': /\/static\/css\/main.css/
        , 'path': './public/stylesheets/'
        , 'dataType': 'css'
        , 'files':['*']
        , debug:true        
        }
    };

If I add a new js files in /public/javascripts/ without restarting the server,the new file is not appended to main.js.

Do you use it in production or development mode?