@gesslar/sassy 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Session.js +2 -2
package/package.json
CHANGED
package/src/Session.js
CHANGED
|
@@ -383,7 +383,7 @@ export default class Session {
|
|
|
383
383
|
|
|
384
384
|
const changedFile = Array.from(this.#theme.getDependencies()).find(
|
|
385
385
|
dep => {
|
|
386
|
-
const depPath = dep.getSourceFile().
|
|
386
|
+
const depPath = dep.getSourceFile().path
|
|
387
387
|
const normalizedDepPath = path.resolve(depPath)
|
|
388
388
|
|
|
389
389
|
return normalizedDepPath === normalizedChanged
|
|
@@ -500,7 +500,7 @@ export default class Session {
|
|
|
500
500
|
const dependencies = Array.from(this.#theme
|
|
501
501
|
.getDependencies())
|
|
502
502
|
.map(d => {
|
|
503
|
-
const filePath = d.getSourceFile().
|
|
503
|
+
const filePath = d.getSourceFile().path
|
|
504
504
|
|
|
505
505
|
// Normalize to absolute path for chokidar
|
|
506
506
|
return path.resolve(filePath)
|