       ext = path.extname @projectToolbarConfigPath
 
       switch ext
+        when '.js', '.coffee'
+          projConfig = require(@projectToolbarConfigPath)()
+          delete require.cache[@projectToolbarConfigPath]
+
         when '.json'
           projConfig = require @projectToolbarConfigPath
           delete require.cache[@projectToolbarConfigPath]

    # Default directory
    @configFilePath = process.env.ATOM_HOME unless @configFilePath

    # If configFilePath is a folder, check for `toolbar.(json|cson|json5)` file
    unless fs.isFileSync(@configFilePath)
      @configFilePath = fs.resolve @configFilePath, 'toolbar', ['cson', 'json5', 'json']

    return true if @configFilePath


    ext = path.extname @configFilePath

    switch ext
      when '.js', '.coffee'
        config = require(@configFilePath)()
        delete require.cache[@configFilePath]

      when '.json'
        config = require @configFilePath
        delete require.cache[@configFilePath]
