koala icon indicating copy to clipboard operation
koala copied to clipboard

Save to project settings

Open iamkeir opened this issue 10 years ago • 13 comments

First off - I love Koala. Really great app, thank you :)

Bit stuck - How do I save settings I change in Koala to the project settings file? Do I need to write the options in manually?

Then, when my colleague opens Koala, how do they load in the project settings?

Thanks!

iamkeir avatar Dec 02 '14 21:12 iamkeir

Oops, just found https://github.com/oklai/koala/wiki/Using-project-settings

iamkeir avatar Dec 02 '14 21:12 iamkeir

When the "koala-config.json" file modify, koala will auto reload the project with the configuration in "koala-config.json".

I cannot get this to work.

From my project settings:

"mappings": [
  {
    "src": "html/a/sass/style.scss",
    "dest": "html/a/css/style.min.css"
  },
  {
    "src": "html/a/js/src/script.js",
    "dest": "html/a/js/script.min.js"
  }
]

But in Koala: http://cl.ly/YnFZ (screenshot)

Am I doing something incorrectly?

iamkeir avatar Dec 02 '14 21:12 iamkeir

Rightclick on the project in Koala and "reload configuration"

julkue avatar Dec 03 '14 06:12 julkue

Thanks but I do not have that option? I have 'reload', which I pressed but nothing changed?

See here: http://cl.ly/YnyG

iamkeir avatar Dec 03 '14 09:12 iamkeir

Do not click on the assets, click on the project name

julkue avatar Dec 03 '14 19:12 julkue

I did click on the project name? Did you see the video?

A still screenshot instead: http://cl.ly/YoLa

iamkeir avatar Dec 03 '14 19:12 iamkeir

Ok. Well, that is the only way I know. @oklai do you know something more?

julkue avatar Dec 03 '14 19:12 julkue

Thanks for your responses and help, though. Not sure if something is wrong with they way I am doing it.

iamkeir avatar Dec 03 '14 19:12 iamkeir

Sorry, mappings only supports folder path. Click the icon to change the output file. image

oklai avatar Dec 04 '14 09:12 oklai

Aaaaah, I see! Yep, that works now. Thank you both @julmot and @oklai for your help.

Fingers crossed that koala-config.json supports more settings soon - it is a great tool. Thanks for your hard work. Two donations sent! :)

iamkeir avatar Dec 04 '14 09:12 iamkeir

Please, add support of mapping for path/filename.ext too.

YaroslavFrolov avatar Mar 18 '18 20:03 YaroslavFrolov

I join @YaroslavFrolov 's request

Please, add support of mapping for path/filename.ext too.

agustinprosperi avatar May 31 '18 10:05 agustinprosperi

Oh yes please, add it ! +1

Colir avatar Sep 12 '18 08:09 Colir