瀏覽代碼

bug fix sasscompiler

Bachir Soussi Chiadmi 7 年之前
父節點
當前提交
d18f8122f6
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      classes/sasscompiler.py

+ 4 - 3
classes/sasscompiler.py

@@ -41,9 +41,10 @@ class Compiler():
             self.paths.append(os.path.join(self.parent.cwd,'assets/css',f))
 
    def reload(self):
-      # print('Reload sass compiler')
+      print('Reload sass compiler')
       self.fs_watcher.removePaths(self.paths)
       self.refreshPaths()
-      # print('paths', self.paths)
+      print('paths', self.paths)
       self.fs_watcher.addPaths(self.paths)
-      # print('files', self.fs_watcher.files())
+      print('files', self.fs_watcher.files())
+      self.compile_scss()