Comments (2)
thanks for the workaround. i found i had to tweak it slightly to make it more robust. i use this bash function now
slipwatch() {
# a workaround for the missing watch functionality
fswatch --print0 --event Updated "$1" | xargs -0 -n 1 slipshow
}
from slipshow.
Thanks for trying slipshow and sorry for the issue! My lack of knowledge of MacOS is guilty here...
Apparently, inotify (the utility that I use to watch changes on the source file) is a Linux only utility. Which is why it does not work on Mac...
I should have used the fswatch library, which is cross platform.
One workaround (until I fix this) is to use fswatch (the binary). From what I understand, the syntax would be in your case:
$ fswatch --event Updated file.md | xargs -n 1 slipshow
(the --event
is here to prevent some infinite loop where the call of slipshow file.md
is caught by fswatch to trigger a new slipshow file.md
...)
However, that is a workaround for the --watch
argument, not the --serve
. So you will have to reload file in the browser to see the changes, or find a workaround for --serve
as well... Maybe the live-reload js library?
from slipshow.
Related Issues (20)
- Engine: wrong computed size on subslips
- Make sure compiled presentations are standalone HOT 2
- Allow to include video or large file
- Have a way to move relatively positioned items WYSIWYG
- Add a ascii layout
- Allow to use tailwindcss or tachyon for easy css customization
- Compiler: better port support for `--serve`
- Support for pre-recorded handwritten content
- Add support for tikz HOT 1
- Add support for mermaid
- Have feature parity on all distributions of slipshow
- scroll doesn't work on Mobile HOT 2
- Have a github action to compile and publish a presentation on github pages
- Getting started issue - How to separate different slides HOT 3
- feat: allows users to find the source markdown within the rendered html file HOT 1
- Binary release file got CPU arch wrong (says x86_64, but it's actually arm) HOT 6
- Can you provide the uncompiled raw markdown file for the beginners HOT 8
- figure overlays HOT 1
- Some invalid syntax crashes the compiler
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slipshow.