bdkjones / CodeKit2

CodeKit 2 Beta
97 stars 4 forks source link

Browser refresh confusing active project #538

Open neuedeutsche opened 9 years ago

neuedeutsche commented 9 years ago

I currently have several repositories that I am developing side by side. I use 2 repositories to share common files via symlink such as media files and js,img,css,etc

current main projects: "Adaid", "Humancredit",

injected projects via symlink: "Humancredit Framework" - (An actual standalone site also used to share js,img,css in related projects) "Humancredit Media" - (all media files that are shared accross projects)

I am very happy about how that works now (also on the live site).

Sidenote: I am not familiar with the framework functionality of codekit. I believe tho that it would not be suitable for this case as we deploy framework and media seperately to the server and dont wanna have dublicate files within each project (as i expect that is what the codekit side framework functionality does).

Here is the problem: During my work I noticed an issue with the browser refresh.

now i have noticed that when I save the "index.kit" inside "humancredit-framework" codekit is refreshing the project as if i edited "humancredit" one.

my impression was that that might relate to the project folder name or project name in codekit. (Or/and possibly the project order inside codekit.) Obviously I would like to see the index of framework updated inside the browser instead of the other when editing.

bdkjones commented 9 years ago

The browser always shows the selected project in CodeKit. That’s what gets refreshed, no matter what file you save in any project or framework. To change what the browser is displaying, you need to switch the active project in CodeKit.

On 1 Apr 2015, at 02:56, Thomas notifications@github.com wrote:

I currently have several repositories that I am developing side by side. I use 2 repositories to share common files via symlink such as media files and js,img,css,etc And I am very happy about how that works now (also on the live site)

current main projects: "Adaid", "Humancredit",

injected projects via symlink: "Humancredit Framework", "Humancredit Media",

I am very happy about how that works now (also on the live site).

Sidenote: I am not familiar with the framework functionality of codekit. I believe tho that it would not be suitable for this case as we deploy framework and media seperately to the server and dont wanna have dublicate files within each project (as i expect that is what the codekit side framework functionality does).

Here is the problem: During my work I noticed an issue with the browser refresh.

now i have noticed that when I save the "index.kit" inside "humancredit-framework" codekit is refreshing the project as if i edited "humancredit" one.

my impression was that that might relate to the project folder name or project name in codekit. (Or/and possibly the project order inside codekit.) Obviously I would like to see the index of framework updated inside the browser instead of the other when editing.

— Reply to this email directly or view it on GitHub https://github.com/bdkjones/CodeKit/issues/538.

neuedeutsche commented 9 years ago

codekit IS switching the project on its own is what i have attempted to discribe…

bdkjones commented 9 years ago

Have you installed a plugin for your editor? Many of them offer that feature as a convenience.

Sent from my iPhone

On Apr 1, 2015, at 11:29, Thomas notifications@github.com wrote:

codekit is switching the project on its own is what i have attempted to discribe…

— Reply to this email directly or view it on GitHub.