bdkjones / CodeKit

CodeKit 3 Issue Tracker
https://codekitapp.com
82 stars 5 forks source link

Changing output path on JS file causes double -dist #4

Closed subhaze closed 8 years ago

subhaze commented 8 years ago

Quick, short summary

I was trying to remove the *-dist.js suffix from my JS files when using the new source/ build/ workflow and found that CK added a main-dist-dist.js file to the build/

Expected results

Not see a file called main-dist-dist.js in build/

Actual results

Found a main-dist-dist.js file in build/

Exact steps to reproduce

Start a new project and select "This project uses a build folder", kept the defaults source and build.

Select js file to process and update its output path to not have -dist.js prefix.

A link to download a simplified project or file that shows the issue.

https://github.com/subhaze/ck3_test1

Your configuration (any details about your system that you think might be relevant).

https://www.dropbox.com/s/7virww2m6caccd3/Screenshot%202016-05-18%2010.23.32.png?dl=0

bdkjones commented 8 years ago

How did you update the output path to not have -dist?

That's not a CodeKit default.

subhaze commented 8 years ago

Oh yeah... OK I should've remembered this, I have that setup in CK2 as my default suffix on building JS files. So, it was a setting carried over from my CK2 base project config into CK3.

subhaze commented 8 years ago

And from changing the naming of the output, I was changing it from the UI settings on that specific file in the right panel.

bdkjones commented 8 years ago

Cool. It sounds like the app did the right thing here.