I am working with your DSF sample example here.
When changing, for example, the background-color (or anything) in Components/Button/Button.less, I get the following:
❯❯ npm run dsf
> dsf-example-project@0.0.0 dsf /Users/macxim/code/dsf-example-project
> node node_modules/design-system-framework/cli.js
⌜ ⌝
Design System Framework
⌞ ⌟
Server ready at http://localhost:3000
watch: ready
socket connected
getComponents executed in 0ms.
socket connected
socket connected
/Users/macxim/code/dsf-example-project/node_modules/design-system-framework/lib/dsf.js:131
path = pathUtils.removeAbsPath(pathUtils.absolutePath(path));
^
TypeError: pathUtils.removeAbsPath is not a function
at idFromFilePath (/Users/macxim/code/dsf-example-project/node_modules/design-system-framework/lib/dsf.js:131:19)
at /Users/macxim/code/dsf-example-project/node_modules/design-system-framework/lib/dsf.js:159:22
at StatWatcher.<anonymous> (/Users/macxim/code/dsf-example-project/node_modules/design-system-framework/node_modules/watch/main.js:79:38)
at emitTwo (events.js:87:13)
at StatWatcher.emit (events.js:172:7)
at StatWatcher._handle.onchange (fs.js:1285:10)
When I run npm run dsf again, the changes I made appear accordingly.
I am working with your DSF sample example here. When changing, for example, the
background-color
(or anything) inComponents/Button/Button.less
, I get the following:When I run
npm run dsf
again, the changes I made appear accordingly.