Project

General

Profile

Actions

Support #13322

open

Editing css in git repository

Added by Axel Sjöberg 10 days ago. Updated 10 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
12/12/2024
Due date:
% Done:

0%

Estimated time:

Description

My docroot points to C:<installdir>\resources and the .css files are served from there. The problem is that a developer can't edit the .css file in C:<git repo>\app\app.css and expect the browser to see the changes by simply refreshing the page with ctrl + F5. The developer always needs to run cmake --build . --target=install or alternatively edit the .css file from C:<installdir>\resources to see the changes. The build step is annoying and slows down the development cycle, and if you edit the .css file from the install dir, you need to remember to copy the changes back to the git repo for the commit. Is there any nice way to allow the developer to edit the .css directly in the git repo and have the browser see the changes with ctrl + F5 only?

While writing this I got the idea to set = and then adding installdir somehow to .gitignore. I don't know if I like this.

Actions #1

Updated by Axel Sjöberg 10 days ago

*While writing this I got the idea to set installdir = git repo

Actions

Also available in: Atom PDF