mirror of
https://github.com/mthenw/frontail.git
synced 2026-04-26 02:05:57 +03:00
[GH-ISSUE #44] ui-highlight not working - two scenarios #27
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/frontail#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mv5492 on GitHub (Feb 23, 2015).
Original GitHub issue: https://github.com/mthenw/frontail/issues/44
/local/bin/frontail --host development.web.com --port 8181 --pid-path '/pub/node/frontail.8181.pid' --key '/local/ssl/certs/new_dev_private.key' --certificate '/local/ssl/certs/upstartdev.crt' --log-path /pub/node/frontail.log --daemonize --ui-highlight /local/lib/node_modules/frontail/preset/default.json /tmp/front1
The server starts but --ui-highlight does not work. If I remove --daemonize or -d the --ui-highlight works fine as specified above with full path to json file
/local/bin/frontail --host development.web.com --port 8181 --pid-path '/pub/node/frontail.8181.pid' --key '/local/ssl/certs/dev_private.key' --certificate '/local/ssl/certs/dev.crt' --log-path /pub/node/frontail.log --ui-highlight /tmp/front1
Arguments needed, use --help
If I leave off --ui-highlight all together there is no highlighting - not picking up defaults. The daemonize option is not specified.
My --ui-highlight input file works:
{
"words": {
"err": "color: red;"
},
"lines": {
"err": "font-weight: bold; background-color: yellow;"
}
}
/local/bin/frontail --host development.web.com --ui-highlight --port 8181 --pid-path '/pub/node/frontail.8181.pid' --key '/local/ssl/certs/dev_private.key' --certificate '/local/ssl/certs/dev.crt' --log-path /pub/node/frontail.log /tmp/front1
Thank you for looking. Mike
@mthenw commented on GitHub (Mar 3, 2015):
Hi,
thanks for reporting. Both cases were fixed in 2.0.0. I've also introduced new option
--ui-highlight-presetfor providing highlight preset path.@mv5492 commented on GitHub (Mar 3, 2015):
My pleasure. I really like your approach to tail -f to a browser. I'm looking forward to issue#38