-
-
Notifications
You must be signed in to change notification settings - Fork 188
--watch is not working on node 0.10/0.12 #152
Comments
Please provide more info: node/npm version, os & command you are trying.
|
@MoOx node |
Can you try --verbose as a first arg ?
|
@MoOx tried |
What is you css input ?
|
@import 'highlight.js/styles/github.css';
@import 'basscss';
header {
position: fixed;
display: block;
top: 0;
left: 0;
right: 0;
width: 100%;
height: 32px;
text-align: center;
background-image: linear-gradient(45deg, rgba(255, 85, 0, 0.95), rgba(247, 95, 19, 0.8));
border-bottom: 1px solid rgba(0,0,0,.1);
box-shadow: 0 0 1px 1px rgba(0,0,0,0.1);
z-index: 2;
}
.b2 {
border-width: 2px;
}
:root {
--font-family: 'Avenir Next', 'Helvetica Neue', Helvetica, Arial, sans-serif;
--container-width: 640px;
--yellow: rgba(255, 220, 0, 0.45);
--orange: #FC561E;
--button-line-height: 1;
--sb-progress-height: 8px;
--button-big-padding-x: 1.25rem;
--button-big-padding-y: 1.25rem;
} |
Oh i miss 0.10. Watcher only work for 0.12. Also, you should update npm. V3 is almost out. |
Please tell me if upgrading to node 0.12 (or iojs) change something for you. |
@MoOx thanks, on latest node version watcher is working 👍 |
node 0.12.4 Not working for me.. Switched to iojs 2.2.1/npm 2.11.0 and it worked. |
@MoOx same for me.. it stopped working on node |
Hum... All this watcher issue are boring me. I will switch to another watcher module asap. |
@MoOx please do 👍 |
PR is also welcome. @jonathanong told me to use https://github.com/amasad/sane |
Is this working for everyone using iojs ? |
@es128 chokidar is supposed to work on node 10/12 right ? |
@MoOx yes it works on all mainstream versions of node and io.js. Not enough detail in this thread for me to understand what's going wrong for some users, but it's possible that what's missing is running That said, chokidar should still work (perhaps with degraded performance) on OS X even when fsevents is not present or otherwise cannot be loaded. Nonetheless, the first step for anyone saying watching abruptly stopped working or having trouble with specific versions would be to run an |
@MoOx you could also try just making your own watcher. i have https://github.com/fs-utils/file-watch which i don't maintain anymore which worked pretty well. could copy and simplify. |
Not sure if the problem has been partially fixed but I'm using cssnext v1.8.0, Node v0.12.4, OS X 10.10.3, and |
Ok seems related to #123 |
mac, node v0.12.2 cli: cssnext --watch src/app.css build/build.css with or without imports it does not watch. Paths are correct since it builds without watch. |
Can you try with the --verbose option and show the result here please?
|
Using cssnext version
1.6.0
but--watch
option is not working.The text was updated successfully, but these errors were encountered: