.less files not applied after deserialization


#1

i made a Active Editor Info package as shown in the atom fight manual.
(https://flight-manual.atom.io/hacking-atom/sections/package-active-editor-info/)

and i add background-color css property to “styles/active-editor-info.less” file.
so, my active-editor-info.less file was written like below.

@import “ui-variables”;

.active-editor-info {
background-color: red;
}

it works if i turn on the package through top menu. ( packages -> active-editor-info -> toggle )
but it doesn’t work after i refresh atom editor. ( Ctrl + Shift + F5 )

could you help me please…?


#2

In your package.json, do you have an activationCommands key? If so, Atom won’t load anything until one of the activation commands is run.


#3

oh! i works! after remove activationCommands.
thank you very much!