@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Session.js +2 -2
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "name": "gesslar",
6
6
  "url": "https://gesslar.dev"
7
7
  },
8
- "version": "1.1.0",
8
+ "version": "1.2.0",
9
9
  "license": "Unlicense",
10
10
  "homepage": "https://github.com/gesslar/sassy#readme",
11
11
  "repository": {
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().real.path
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().real.path
503
+ const filePath = d.getSourceFile().path
504
504
 
505
505
  // Normalize to absolute path for chokidar
506
506
  return path.resolve(filePath)