Open nicholasjohn opened 10 years ago
what version of pliers are you using
pliers -V
should be 0.3.2
pliers install -g pliers
Definitely on version 0.3.2:
➜ site git:(develop) pliers -V
0.3.2
Still getting that error:
14:18:59 [pliers] Changed: public/css/foundations/kerning.styl (change)
14:18:59 [pliers] Running task: renderCss
14:19:06 [pliers] Changed: public/css/foundations/kerning.styl (change)
14:19:06 [pliers] Running task: renderCss
14:19:13 [pliers] Completed task: renderCss
14:19:13 [pliers] Completed task: renderCss
is this with pliers run
? if so that delegates to the local version of pliers on the project.
Nope, globally and inside the project it's running 0.3.2
➜ Clock git:(develop) ✗ npm ls pliers
clock-website@0.1.0 /Users/nick/Development/Clock/Clock
└── pliers@0.3.2
Looks like the the first renderCss is activating the second in some form based on the times. Also worth noting that it is definitely rendering separately; see below for console.time() calculations:
15:45:47 [pliers] Changed: public/css/components/article.styl (change)
15:45:47 [pliers] Running task: renderCss
15:45:51 [pliers] Changed: public/css/components/article.styl (change)
15:45:51 [pliers] Running task: renderCss
renderCss: 4031ms
15:45:55 [pliers] Completed task: renderCss
renderCss: 4038ms
15:45:55 [pliers] Completed task: renderCss
Is article.styl ever staged in git when then happen?
Nope, we're aware that it gets re-called upon staging.
The below example comprises of an example where updating one Stylus file (one character & saving) runs the
renderCss()
twice.Extract from pliers log:
Extracts from ClockSite's site/pliers.js: